i2c: rockchip: fix power off issue for rk818
authorDavid Wu <wdc@rock-chips.com>
Wed, 28 Oct 2015 23:25:37 +0000 (07:25 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 30 Oct 2015 08:25:50 +0000 (16:25 +0800)
commit67e6de73b6b9336ef515c4d5a075251fb94ff6dc
tree0f0ae87bd7a073410487586044d8804aff679144
parent22cd9571827e9a2dbb4c93b271e04ef3751b2b5e
i2c: rockchip: fix power off issue for rk818

The power off sequence is behind of i2c bus shutdown func,
it would prevent the rk818 to do power off action. The irq was
disabled when rk818 power off, it could let rk818 to power off
through i2c bus.

Change-Id: Ia6155f137ab2fa36dbe19e06878b0228670b1398
Signed-off-by: David Wu <wdc@rock-chips.com>
drivers/i2c/busses/i2c-rockchip.c