summaryrefslogtreecommitdiff
path: root/drivers/media/v4l2-core/v4l2-ctrls.c
diff options
context:
space:
mode:
authorJosh Wu <josh.wu@atmel.com>2015-05-26 06:54:46 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-07-06 08:25:52 -0300
commitf3745a3af521d403d4c174e4bad0986e11f4d2f1 (patch)
tree84e91f5fd215c8c4eca52aeffbf446352ee9fda9 /drivers/media/v4l2-core/v4l2-ctrls.c
parent8c0378354709058bba3319bb58fd04bd09e1eaa6 (diff)
[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 'drivers/media/v4l2-core/v4l2-ctrls.c')
0 files changed, 0 insertions, 0 deletions