]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00221643 [MX6]Fix race condition of pfd 400 usecount
authorAnson Huang <b20788@freescale.com>
Tue, 28 Aug 2012 09:43:01 +0000 (17:43 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:20 +0000 (08:35 +0200)
commitf85e3ac4727712255a270099ece2048d4dfde753
treee1058ca5efda8208d0c714e169a7ffa0cf465cdb
parentdfdb9f47e806d5cf9d189ce27c5e55640858a5e6
ENGR00221643 [MX6]Fix race condition of pfd 400 usecount

We can't modify the usecount of pfd 400M clock when ARM freq
is changed, as when the children of pfd 400M do clock enable/disable,
they will also modify this usecount, these two modification is
out of same lock protection. And this wrong usecount may lead to
pfd 400M or pll2 disabled accidently, and it will cause system hang!

Signed-off-by: Anson Huang <b20788@freescale.com>
arch/arm/mach-mx6/clock.c
arch/arm/mach-mx6/clock_mx6sl.c