]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00170945:mx6: clk: __clk_disable operates only when usecount > 0
authorwu guoxing <b39297@freescale.com>
Tue, 27 Dec 2011 05:32:43 +0000 (13:32 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:10:26 +0000 (14:10 +0200)
commit2813c0124eb891728299bd37a96c45ff9e32f2a5
treefec924e13073abcc334d85a5bc0702e34ca46790
parentae30b10106db9daca25e538121f0ee8d93850715
ENGR00170945:mx6: clk: __clk_disable operates only when usecount > 0

in __clk_disable, check usecount, if it is 0, return, otherwise,
the usecount will be un-correct.

Signed-off-by: Wu Guoxing <b39297@freescale.com>
arch/arm/plat-mxc/clock.c