Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
omap3-sgx-modules: add patch to fix spurious IRQ
- Loading branch information
Koen Kooi
committed
Feb 20, 2009
1 parent
30fe4d5
commit 12c7e9e
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
packages/powervr-drivers/omap3-sgx-modules/spurious-irq-fix.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters