diff options
author | Josh Wu <josh.wu@atmel.com> | 2015-05-26 09:54:46 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-07-06 11:25:52 (GMT) |
commit | f3745a3af521d403d4c174e4bad0986e11f4d2f1 (patch) | |
tree | 84e91f5fd215c8c4eca52aeffbf446352ee9fda9 /sound/arm | |
parent | 8c0378354709058bba3319bb58fd04bd09e1eaa6 (diff) | |
download | linux-f3745a3af521d403d4c174e4bad0986e11f4d2f1.tar.xz |
[media] atmel-isi: add runtime pm support
The runtime pm resume/suspend will enable/disable pclk (ISI peripheral
clock).
We have to call runtime_pm_get_sync()/runtime_pm_put() when we need to
access ISI registers. In atmel_isi_probe(), remove the isi disable code
as at that moment ISI peripheral clock is not enable yet.
Besides, clock_start()/clock_stop() is used to control the mclk, not
the ISI peripheral clock. So move this to start[stop]_streaming()
function.
Signed-off-by: Josh Wu <josh.wu@atmel.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'sound/arm')
0 files changed, 0 insertions, 0 deletions