]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: pxa: keep i2c irq ON in suspend
authorLeilei Shang <shangll@marvell.com>
Tue, 14 Jul 2015 07:36:40 +0000 (13:06 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 10 Aug 2015 06:37:29 +0000 (08:37 +0200)
commitd551d86dbc500c5386febef0b64fd9b792040ac8
tree30c7959e92f623f749b9e8e3d9f70795b13d4b2f
parent26f94d7dc66a2cdc5d99427cc60503eb4940be3e
i2c: pxa: keep i2c irq ON in suspend

During suspend there may still be some i2c access happening, as the
interrupt is shared between multiple drivers.
And if we don't keep i2c irq ON, there may be i2c access timeout if
i2c is in irq mode of operation.

Signed-off-by: Raul Xiong <xjian@marvell.com>
Signed-off-by: Xiaofan Tian <tianxf@marvell.com>
[vaibhav.hiremath@linaro.org: updated Changelog]
Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
Cc: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-pxa.c