]> git.karo-electronics.de Git - linux-beck.git/commit
spi/bcm63xx: don't disable non enabled clocks in probe error path
authorJonas Gorski <jogo@openwrt.org>
Mon, 11 Mar 2013 23:13:37 +0000 (00:13 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 12 Mar 2013 19:11:31 +0000 (19:11 +0000)
commitb435ff212e91bddc2d12e6638a4d846d5f60daa6
treea03234aebe1215fac562d1b828343dfbb8677eec
parent4a25b680b1e84cf97c740c8005e2c6655d6cfa7f
spi/bcm63xx: don't disable non enabled clocks in probe error path

When msg_ctl_width is set to an invalid value we try to disable the
clock despite it never being enabled. Fix it by jumping to the correct
label.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-bcm63xx.c