[PATCH 5/7] v4l: s5p-fimc: add pm_runtime support

Marek Szyprowski m.szyprowski at samsung.com
Wed Apr 6 03:25:45 EDT 2011


Hello,

On Wednesday, April 06, 2011 2:37 AM Jonghun Han wrote:

> runtime_pm is used to minimize current.
> In my opinion, the followings will be better.
> 1. Adds pm_runtime_get_sync before running of the first job.
>    IMO, dma_run callback function is the best place for calling in case of
> M2M.
> 2. And then in the ISR, call pm_runtime_put_sync in the ISR bottom-half if
> there is no remained job.

Right my pm_runtime implementation is very simple. I've just added it to test
if other subsystems are working.

Best regards
--
Marek Szyprowski
Samsung Poland R&D Center





More information about the linux-arm-kernel mailing list