[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKohpom1xTdScGtFNX9n6c3EbXvGXYUDmDHwsKDt6gMoTgZCKw@mail.gmail.com>
Date: Wed, 14 Nov 2012 14:36:00 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Axel Lin <axel.lin@...ics.com>
Cc: Linus Walleij <linus.walleij@...aro.org>, spear-devel@...t.st.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pinctrl: plgpio: Call clk_disable_unprepare only if
clk_prepare_enable is called
On 14 November 2012 14:07, Axel Lin <axel.lin@...ics.com> wrote:
> This driver allows clk_get() failure, and still work without it.
> This patch adds !IS_ERR(plgpio->clk) checking in plgpio_request() error path
> so we only call clk_disable_unprepare() if clk_prepare_enable() is called.
>
> Signed-off-by: Axel Lin <axel.lin@...ics.com>
Acked-by: Viresh Kumar <viresh.kumar@...aro.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists