[PATCH 2/2] media: davinci: vpbe: venc: move the enabling of vpss clocks to driver

Sekhar Nori nsekhar at ti.com
Mon Mar 25 01:39:19 EDT 2013


On 3/22/2013 1:23 PM, Prabhakar lad wrote:
> From: Lad, Prabhakar <prabhakar.csengg at gmail.com>
> 
> The vpss clocks were enabled by calling a exported function from a driver
> in a machine code. calling driver code from platform code is incorrect way.
> 
> This patch fixes this issue and calls the function from driver code itself.
> 
> Signed-off-by: Lad, Prabhakar <prabhakar.csengg at gmail.com>
> ---
>  Note: This patch is based on the comment from Sekhar
>       (https://patchwork-mail1.kernel.org/patch/2278441/).
>       Shekar I haven't completely removed the callback, I just added
>       the function calls after the callback. As you mentioned just to
>       pass the VPSS_CLK_CTRL as a resource to venc but the VPSS_CLK_CTRL
>       is already being used by VPSS driver. I'll take this cleanup task later
>       point of time.

Fine by me.

Thanks,
Sekhar



More information about the linux-arm-kernel mailing list