[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdaXVvGh=pdJsuh-fBHvvjZM8QzxLpFa2yVwwEDRXikH4Q@mail.gmail.com>
Date: Thu, 15 Nov 2012 12:34:00 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Axel Lin <axel.lin@...ics.com>
Cc: Viresh Kumar <viresh.kumar@...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 Wed, Nov 14, 2012 at 9:37 AM, 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>
Applied with Viresh's ACK, thanks!
Yours,
Linus Walleij
--
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