]> git.baikalelectronics.ru Git - kernel.git/commit
arm: mach-omap2: hsmmc_reset: fix clk_get() error handling
authorAaro Koskinen <Aaro.Koskinen@nokia.com>
Tue, 21 Dec 2010 02:48:15 +0000 (18:48 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 21 Dec 2010 02:48:15 +0000 (18:48 -0800)
commite3175789308f97999146ea2ea0b5ca3cb9a1f7f2
tree31d5f523fa726c87e07ce1a061848ff275f98c87
parent4bc946bd96a0bb72b92a22e547f12f9522c120be
arm: mach-omap2: hsmmc_reset: fix clk_get() error handling

clk_get() return value should be checked with IS_ERR(). Furthermore,
clocks should be put and disabled properly.

Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/devices.c