summaryrefslogtreecommitdiff
path: root/drivers/platform
diff options
context:
space:
mode:
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>2015-11-24 07:31:56 (GMT)
committerWolfram Sang <wsa@the-dreams.de>2015-11-30 20:07:40 (GMT)
commit7fa32329ca03148fb2c07b4ef3247b8fc0488d6a (patch)
tree2022218964e2325cdf2b504ba4731f5a977fd260 /drivers/platform
parentcfa576db834cacc1bb01bc41b2f61a8b578e67c5 (diff)
downloadlinux-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/platform')
0 files changed, 0 insertions, 0 deletions