commit | ebe211daa18c5bd65d1d91ae8fdc40a7ffee506f | [log] [tgz] |
---|---|---|
author | Alok Chauhan <alokc@codeaurora.org> | Mon Nov 19 21:53:12 2012 +0530 |
committer | Alok Chauhan <alokc@codeaurora.org> | Fri Nov 30 10:24:50 2012 +0530 |
tree | 88958457a2e058d467e288416be4a9219a66bffc | |
parent | 3c82928cbb75378473f1ca0691dc9d61c2dc0ab3 [diff] |
qup_i2c: Add runtime PM support to I2C QUP controller Runtime PM is used to turn clocks on and off when the controller is not in use. When the controller is used for messaging, pm_runtime_get_sync is called before sending the message. pm_runtime_mark_last_busy and pm_runtime_put_autosuspend are called when message is sent and/or response is received. Change-Id: I970def8eb601f7beb8ac256ed1496ddd48ca1257 CRs-Fixed: 406910 Signed-off-by: Alok Chauhan <alokc@codeaurora.org>