From mboxrd@z Thu Jan 1 00:00:00 1970 From: nsekhar@ti.com (Sekhar Nori) Date: Mon, 25 Mar 2013 11:09:19 +0530 Subject: [PATCH 2/2] media: davinci: vpbe: venc: move the enabling of vpss clocks to driver In-Reply-To: <1363938793-22246-3-git-send-email-prabhakar.csengg@gmail.com> References: <1363938793-22246-1-git-send-email-prabhakar.csengg@gmail.com> <1363938793-22246-3-git-send-email-prabhakar.csengg@gmail.com> Message-ID: <514FE307.5090201@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 3/22/2013 1:23 PM, Prabhakar lad wrote: > From: Lad, Prabhakar > > 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 > --- > 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from comal.ext.ti.com ([198.47.26.152]:35100 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755357Ab3CYFj2 (ORCPT ); Mon, 25 Mar 2013 01:39:28 -0400 Message-ID: <514FE307.5090201@ti.com> Date: Mon, 25 Mar 2013 11:09:19 +0530 From: Sekhar Nori MIME-Version: 1.0 To: Prabhakar lad CC: LMML , DLOS , LAK , LKML , Mauro Carvalho Chehab Subject: Re: [PATCH 2/2] media: davinci: vpbe: venc: move the enabling of vpss clocks to driver References: <1363938793-22246-1-git-send-email-prabhakar.csengg@gmail.com> <1363938793-22246-3-git-send-email-prabhakar.csengg@gmail.com> In-Reply-To: <1363938793-22246-3-git-send-email-prabhakar.csengg@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: On 3/22/2013 1:23 PM, Prabhakar lad wrote: > From: Lad, Prabhakar > > 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 > --- > 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