]> git.karo-electronics.de Git - linux-beck.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)
committerThierry Reding <thierry.reding@avionic-design.de>
Tue, 2 Apr 2013 09:28:36 +0000 (11:28 +0200)
commit563861cd633ae52932843477bb6ca3f1c9e2f78b
treee161f42351a6865ea72ca8ff9528a91b3a3990ea
parentb343a1887ea4f798758d0023838d16a428f728d5
pwm: spear: Fix checking return value of clk_enable() and clk_prepare()

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>
Cc: stable@vger.kernel.org
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
drivers/pwm/pwm-spear.c