]> www.infradead.org Git - users/jedix/linux-maple.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 20:53:50 +0000 (13:53 -0700)
commit228c19cd8f6d576dc6ab7d641b59aacc98952b9f
tree4ae9306851e8b1f0a174960ee3d7e4255d635258
parentc0b0e8d3666ccd7faa037a763cb6d837bf9c4f32
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