Re: [PATCH v4] drm/exynos: prepare FIMD clocks

Viresh Kumar
2013-04-22T05:14:01Z

On 21 April 2013 20:13, Tomasz Figa <tomasz.figa@gmail.com> wrote:
> 3) after those two changes, all that remains is to fix compliance with
> Common Clock Framework, in other words:
>
> s/clk_enable/clk_prepare_enable/
>
> and
>
> s/clk_disable/clk_disable_unprepare/

We don't have to call clk_{un}prepare() everytime for your platform as
you aren't doing anything in it. So just call them once at probe/remove and
call clk_enable/disable everywhere else.