diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2014-06-24 16:56:54 -0700 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-08-01 19:33:10 +0200 |
commit | b19c1959b09b0ab7f4af6ab99a09e00f9f5672ff (patch) | |
tree | 7788238306c26561e26ca8109db9258aeb0db0a0 /drivers/i2c/busses/i2c-st.c | |
parent | 0f6ba0d15f43e2be8cae9e3906aa03fcfe231e5b (diff) | |
download | op-kernel-dev-b19c1959b09b0ab7f4af6ab99a09e00f9f5672ff.zip op-kernel-dev-b19c1959b09b0ab7f4af6ab99a09e00f9f5672ff.tar.gz |
i2c: s3c2410: resume the I2C controller earlier
When the wake-up is triggered by the PMIC RTC, the RTC driver is trying
to read the PMIC interrupt status over I2C and fails because the I2C
controller is not resumed yet.
Let's resume the I2C controller earlier in the _noirq phase
(as other hardwares are doing), so we can properly get the wake-up
condition.
[tomasz: Also fixes certain issues on Exynos4-based boards.]
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
Signed-off-by: Doug Anderson <dianders@chromium.org>
Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Acked-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-st.c')
0 files changed, 0 insertions, 0 deletions