Skip to content
Commit afd4a652 authored by Peter Maydell's avatar Peter Maydell Committed by Anthony Liguori
Browse files

hw/pxa2xx.c: Fix handling of R/WC bits in PMCR



Fix a bug in handling the write-one-to-clear bits in the PMCR
which meant that we would always clear the bit even if the
value written was a zero. Spotted by Coverity (see bug 887883).

Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
parent b78c2b3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment