Hi Yoshii-san,

Thank you for the patch.

On Tuesday 24 September 2013 13:09:24 [email protected] wrote:
> From: Shinya Kuribayashi <[email protected]>
> 
> Add calls to clk_prepare and unprepare so that EMMA Mobile EV2 can
> migrate to the common clock framework.
> 
> Signed-off-by: Shinya Kuribayashi <[email protected]>

Acked-by: Laurent Pinchart <[email protected]>

> ---
>  drivers/clocksource/em_sti.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/clocksource/em_sti.c b/drivers/clocksource/em_sti.c
> index 3a5909c..9d17083 100644
> --- a/drivers/clocksource/em_sti.c
> +++ b/drivers/clocksource/em_sti.c
> @@ -78,7 +78,7 @@ static int em_sti_enable(struct em_sti_priv *p)
>       int ret;
> 
>       /* enable clock */
> -     ret = clk_enable(p->clk);
> +     ret = clk_prepare_enable(p->clk);
>       if (ret) {
>               dev_err(&p->pdev->dev, "cannot enable clock\n");
>               return ret;
> @@ -107,7 +107,7 @@ static void em_sti_disable(struct em_sti_priv *p)
>       em_sti_write(p, STI_INTENCLR, 3);
> 
>       /* stop clock */
> -     clk_disable(p->clk);
> +     clk_disable_unprepare(p->clk);
>  }
> 
>  static cycle_t em_sti_count(struct em_sti_priv *p)
-- 
Regards,

Laurent Pinchart

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to