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

From: Sekhar Nori
Date: Mon Mar 25 2013 - 01:39:34 EST


On 3/22/2013 1:23 PM, Prabhakar lad wrote:
> From: Lad, Prabhakar <prabhakar.csengg@xxxxxxxxx>
>
> 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@xxxxxxxxx>
> ---
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/