]> asedeno.scripts.mit.edu Git - linux.git/commit
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)
commit9b839ec0a880977d05ec4d25028ca4a0c3216c61
tree261d1f3be890592d6cd229e2d4251d2b9024a1ec
parentc45dd814008f8842f854aa6960dfd6c610a01873
arm: mxc: utilise usecount field in clock operations

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>
arch/arm/plat-mxc/clock.c