Files
android_kernel_xiaomi_sm8450/drivers/i2c
Shubhrajyoti Datta 7fa32329ca i2c: cadence: Move to sensible power management
Currently the clocks are enabled at probe and disabled at remove.
Which keeps the clocks enabled even if no transaction is going on.
This patch enables the clocks at the start of transfer and disables
after it.

Also adapts to runtime pm.

converts dev pm to const to silence a checkpatch warning.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2015-11-30 21:07:40 +01:00
..
2014-11-07 18:35:33 +01:00
2015-11-20 16:19:08 +01:00
2014-11-07 18:35:33 +01:00
2015-10-23 23:26:44 +02:00
2015-06-01 08:41:26 +09:00
2014-11-07 18:35:33 +01:00