ARM: Orion: fix driver probe error handling with respect to clk
authorSimon Baatz <gmbnomis@gmail.com>
Wed, 18 Jul 2012 22:04:09 +0000 (00:04 +0200)
committerAndrew Lunn <andrew@lunn.ch>
Wed, 25 Jul 2012 15:06:21 +0000 (17:06 +0200)
commitbaffab28b13120694fa3ebab08d3e99667a851d2
treeba6021fe52fd1814b06ab07ba2aa8f51c6c2da06
parent30e0f58035073c895a8d33e1521e412be73e02bc
ARM: Orion: fix driver probe error handling with respect to clk

The clk patches added code to get and enable clocks in the
respective driver probe functions.  If the probe function failed
for some reason after enabling the clock, the clock was not
disabled again in many cases.

Signed-off-by: Simon Baatz <gmbnomis@gmail.com>
Signed-off-by: Andrew Lumm <andrew@lunn.ch>
drivers/crypto/mv_cesa.c
drivers/mmc/host/mvsdio.c
drivers/mtd/nand/orion_nand.c
drivers/net/ethernet/marvell/mv643xx_eth.c
drivers/usb/host/ehci-orion.c
sound/soc/kirkwood/kirkwood-i2s.c