summaryrefslogtreecommitdiffstats
path: root/sound/sound_core.c
diff options
context:
space:
mode:
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>2015-11-24 13:01:56 +0530
committerWolfram Sang <wsa@the-dreams.de>2015-11-30 21:07:40 +0100
commit7fa32329ca03148fb2c07b4ef3247b8fc0488d6a (patch)
tree2022218964e2325cdf2b504ba4731f5a977fd260 /sound/sound_core.c
parentcfa576db834cacc1bb01bc41b2f61a8b578e67c5 (diff)
downloadop-kernel-dev-7fa32329ca03148fb2c07b4ef3247b8fc0488d6a.zip
op-kernel-dev-7fa32329ca03148fb2c07b4ef3247b8fc0488d6a.tar.gz
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 'sound/sound_core.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud