Re: [PATCH v3 2/3] media: atmel-isi: add runtime pm support

2015-05-11 Thread Josh Wu
On 5/6/2015 6:25 PM, Josh Wu wrote: The runtime pm resume/suspend will enable/disable pclk (ISI peripheral clock). And we need to call runtime_pm_get_sync()/runtime_pm_put() when we need access ISI registers. In the meantime, as clock_start()/clock_stop() is used to control the mclk not ISI

[PATCH v3 2/3] media: atmel-isi: add runtime pm support

2015-05-06 Thread Josh Wu
The runtime pm resume/suspend will enable/disable pclk (ISI peripheral clock). And we need to call runtime_pm_get_sync()/runtime_pm_put() when we need access ISI registers. In the meantime, as clock_start()/clock_stop() is used to control the mclk not ISI peripheral clock. So move this to