]> www.infradead.org Git - users/dwmw2/linux.git/commit
pwm: spear: Fix checking return value of clk_enable() and clk_prepare()
authorAxel Lin <axel.lin@ingics.com>
Sat, 30 Mar 2013 12:43:22 +0000 (20:43 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 May 2013 14:18:17 +0000 (07:18 -0700)
commit5412ac35167ce8bb266391f3b620ab7250ff9d3e
tree3176d9700520e800b97fc7670315b7e210e11599
parentf63a3b86960177bca59f29eb5c71e3c2fb3e91aa
pwm: spear: Fix checking return value of clk_enable() and clk_prepare()

commit 563861cd633ae52932843477bb6ca3f1c9e2f78b upstream.

The logic to check return value of clk_enable() and clk_prepare() is reversed,
fix it.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pwm/pwm-spear.c