commit | 13eae144ec754ab64521891d2cffc3156f6f083f | [log] [tgz] |
---|---|---|
author | Nicolas Pitre <nicolas.pitre@linaro.org> | Mon Jul 16 22:07:10 2012 -0400 |
committer | Nicolas Pitre <nicolas.pitre@linaro.org> | Wed May 29 15:50:35 2013 -0400 |
tree | 384c5edf609e0ffb3ebf0cbadf2ec19d1007b037 | |
parent | 1e904e1bf6f1285cc2dd5696c44b7cf78cda643f [diff] |
ARM: vexpress/dcscb: add CPU use counts to the power up/down API implementation It is possible for a CPU to be told to power up before it managed to power itself down. Solve this race with a usage count to deal with this possibility as mandated by the MCPM API definition. Signed-off-by: nicolas Pitre <nico@linaro.org> Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Acked-by: Pawel Moll <pawel.moll@arm.com>