Line 0
Link Here
|
|
|
1 |
# Fix a style warning |
2 |
# |
3 |
--- src/trident_dac.c.orig 2013-02-07 07:56:43 UTC |
4 |
+++ src/trident_dac.c |
5 |
@@ -1226,8 +1226,8 @@ Tridentddc1Read(ScrnInfoPtr pScrn) |
6 |
OUTW(0x3C4, (temp << 8) | NewMode1); |
7 |
|
8 |
/* Wait until vertical retrace is in progress. */ |
9 |
- while (INB(vgaIOBase + 0xA) & 0x08); |
10 |
- while (!(INB(vgaIOBase + 0xA) & 0x08)); |
11 |
+ while (INB(vgaIOBase + 0xA) & 0x08) {} |
12 |
+ while (!(INB(vgaIOBase + 0xA) & 0x08)) {} |
13 |
|
14 |
/* Get the result */ |
15 |
OUTB(vgaIOBase + 4, I2C); |