]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit123ed10af0470fceaaf79c039309f133db97c6f6
treeba6021fe52fd1814b06ab07ba2aa8f51c6c2da06
parent1965ab647d49d6fb857801b8918c2af48c1a8342
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