omap_gpmc: GPMC_IRQSTATUS is write-one-to-clear
commit9c8255e12422771cdecbb3bf538f0732be629e2a
authorPeter Maydell <peter.maydell@linaro.org>
Sun, 28 Aug 2011 16:22:18 +0000 (28 16:22 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Sun, 28 Aug 2011 16:37:12 +0000 (28 16:37 +0000)
tree5ff5b1f345d54dd7e03668f8428cf2d8841826b1
parent3387bf5581df66c2cfb0d399d73c80f3cc3be198
omap_gpmc: GPMC_IRQSTATUS is write-one-to-clear

Fix a bug in the handling of writes to GPMC_IRQSTATUS:
it behaves as "write one to clear, writing zero is ignored".

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/omap_gpmc.c