Re: [PATCH v2] pinctrl/coh901: use clk_prepare_[en|dis]able()

From: Pankaj Jangra
Date: Wed Jun 20 2012 - 11:40:17 EST


On Wed, Jun 20, 2012 at 2:12 PM, Linus Walleij
<linus.walleij@xxxxxxxxxxxxxx> wrote:
> From: Linus Walleij <linus.walleij@xxxxxxxxxx>
>
> The COH901 GPIO driver did not prepare or unprepare its
> clock, so let us fix it to do so.
>
> Cc: Pankaj Jangra <jangra.pankaj9@xxxxxxxxx>
> Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> ---
> ChangeLog v1->v2:
> - Fix up to use clk_disable_unprepare() on error and exit paths,
>  noticed by Pankaj Jangra.
> ---
>  drivers/pinctrl/pinctrl-coh901.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Reviewed-by: Pankaj Jangra <jangra.pankaj9@xxxxxxxxx>

Regards,
Pankaj Jangra
--
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/