diff options
author | Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> | 2015-11-24 07:31:56 (GMT) |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-11-30 20:07:40 (GMT) |
commit | 7fa32329ca03148fb2c07b4ef3247b8fc0488d6a (patch) | |
tree | 2022218964e2325cdf2b504ba4731f5a977fd260 /drivers/mfd/da9063-irq.c | |
parent | cfa576db834cacc1bb01bc41b2f61a8b578e67c5 (diff) | |
download | linux-7fa32329ca03148fb2c07b4ef3247b8fc0488d6a.tar.xz |
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>
Diffstat (limited to 'drivers/mfd/da9063-irq.c')
0 files changed, 0 insertions, 0 deletions