Module Name: xsrc
Committed By: joerg
Date: Wed Nov 2 15:56:01 UTC 2016
Modified Files:
xsrc/external/mit/xf86-video-chips/dist/src: ct_driver.c
Log Message:
Fix bit checking loop. Use consistent parenthesis.
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 \
xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c
diff -u xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c:1.23 xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c:1.24
--- xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c:1.23 Sat Aug 27 15:41:45 2016
+++ xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c Wed Nov 2 15:56:01 2016
@@ -7272,8 +7272,8 @@ chipsTestDACComp(ScrnInfoPtr pScrn, unsi
hwp->writeDacData(hwp, a); /* set pattern */
hwp->writeDacData(hwp, b);
hwp->writeDacData(hwp, c);
- while (!(hwp->readST01(hwp)) & 0x01){}; /* wait for hsync to end */
- while ((hwp->readST01(hwp)) & 0x01){}; /* wait for hsync to end */
+ while (!(hwp->readST01(hwp) & 0x01)){}; /* wait for hsync to end */
+ while (hwp->readST01(hwp) & 0x01){}; /* wait for hsync to end */
type = hwp->readST00(hwp); /* read comparator */
return (type & 0x10);
}