diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2017-08-15 16:34:45 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2017-08-17 17:55:29 +0200 |
commit | 2a86cdd2e7d3c75580f41f89f9b9211e225573cc (patch) | |
tree | 94351b93ccf3d23512788566d27739dde6a1cd3f /fs | |
parent | i2c: designware: Remove needless pm_runtime_put_noidle() call (diff) | |
download | linux-2a86cdd2e7d3c75580f41f89f9b9211e225573cc.tar.xz linux-2a86cdd2e7d3c75580f41f89f9b9211e225573cc.zip |
i2c: designware: Fix runtime PM for I2C slave mode
I2C slave controller must be powered and active all the time when I2C
slave backend is registered in order to let master address and
communicate with us.
Now if the controller is runtime PM capable it will be suspended after
probe and cannot ever respond to the master or generate interrupts.
Fix this by resuming the controller when I2C slave backend is registered
and let it suspend after unregistering.
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions