]> 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)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:12:52 +0000 (14:12 +0200)
commitc96a9b5b38c0d82714773ae613309ab32456e629
treee1058ca5efda8208d0c714e169a7ffa0cf465cdb
parent158f77f632df39c33a7e45cfa53618048073df06
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