arm: mxc: utilise usecount field in clock operations
authorAmit Kucheria <amit.kucheria@verdurent.com>
Fri, 28 May 2010 08:29:09 +0000 (11:29 +0300)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 26 Jul 2010 12:17:57 +0000 (14:17 +0200)
This patch fixes the clock refcounting when reparenting is used.

Boot-tested on imx51 babbage board.

Sascha pointed out a good explanation of refcounting here:
http://www.spinics.net/lists/arm-kernel/msg85879.html

Signed-off-by: Amit Kucheria <amit.kucheria@canonical.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>

No differences found