mfd: twl6040: Disable and unprepare clk32k in twl6040_power() error path
authorJavier Martinez Canillas <javier@osg.samsung.com>
Wed, 20 Apr 2016 15:16:37 +0000 (11:16 -0400)
committerLee Jones <lee.jones@linaro.org>
Mon, 9 May 2016 07:23:52 +0000 (08:23 +0100)
commitd6441dc5ce2bc8b296a65952d840d2f16e37f974
treeb8dcb81743c279a746d61b7db9099f597d83d79b
parent32852bcab29d8d43c5d4ddeed9937817e8e8c990
mfd: twl6040: Disable and unprepare clk32k in twl6040_power() error path

The clk32k clock is prepared and enabled in twl6040_power() but the clock
is left enabled in case of an error while it should be disable/unprepared.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/twl6040.c