aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/powervr-drivers/omap3-sgx-modules/spurious-irq-fix.diff
blob: c857fe713f653709edcbf0d37601ed8d486bd7fc (plain)
1
2
3
4
5
6
7
8
9
10
11
--- /tmp/sgxinit.c	2009-02-20 21:24:01.000000000 +0100
+++ omap3-sgx-modules-1.3.13.1397/services4/srvkm/devices/sgx/sgxinit.c	2009-02-20 21:25:17.000000000 +0100
@@ -1139,6 +1139,8 @@
 
 			
 			OSWriteHWReg(psDevInfo->pvRegsBaseKM, EUR_CR_EVENT_HOST_CLEAR, ui32EventClear);
+			//Read back to flush posted write to fix spurious IRQ
+			OSReadHWReg(psDevInfo->pvRegsBaseKM, EUR_CR_EVENT_HOST_CLEAR);
 		}
 	}