diff options
Diffstat (limited to 'patches.tizen/0174-ARM-i2c-s3c2410-register-resume-early-function.patch')
-rw-r--r-- | patches.tizen/0174-ARM-i2c-s3c2410-register-resume-early-function.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/patches.tizen/0174-ARM-i2c-s3c2410-register-resume-early-function.patch b/patches.tizen/0174-ARM-i2c-s3c2410-register-resume-early-function.patch new file mode 100644 index 00000000000..5e6ebdca829 --- /dev/null +++ b/patches.tizen/0174-ARM-i2c-s3c2410-register-resume-early-function.patch @@ -0,0 +1,38 @@ +From df6bc96ef20ee9a26618e82bb15291490d92d272 Mon Sep 17 00:00:00 2001 +From: Donghwa Lee <dh09.lee@samsung.com> +Date: Wed, 20 Mar 2013 19:44:23 +0900 +Subject: [PATCH 0174/1302] ARM: i2c-s3c2410: register resume early function + +register i2c-s3c2410 resume function earlier than other device. + +Signed-off-by: Donghwa Lee <dh09.lee@samsung.com> +Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com> +--- + drivers/i2c/busses/i2c-s3c2410.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c +index cab1c91..7c6c3eb 100644 +--- a/drivers/i2c/busses/i2c-s3c2410.c ++++ b/drivers/i2c/busses/i2c-s3c2410.c +@@ -1199,7 +1199,7 @@ static int s3c24xx_i2c_suspend_noirq(struct device *dev) + return 0; + } + +-static int s3c24xx_i2c_resume(struct device *dev) ++static int s3c24xx_i2c_resume_early(struct device *dev) + { + struct platform_device *pdev = to_platform_device(dev); + struct s3c24xx_i2c *i2c = platform_get_drvdata(pdev); +@@ -1217,7 +1217,7 @@ static int s3c24xx_i2c_resume(struct device *dev) + static const struct dev_pm_ops s3c24xx_i2c_dev_pm_ops = { + #ifdef CONFIG_PM_SLEEP + .suspend_noirq = s3c24xx_i2c_suspend_noirq, +- .resume = s3c24xx_i2c_resume, ++ .resume_early = s3c24xx_i2c_resume_early, + #endif + }; + +-- +1.8.3.2 + |