aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-12-26 05:43:25 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-12-27 11:23:41 -0500
commit70bdd9c83a6e757e5fb9cc3195f27d2c1d0a4c39 (patch)
tree1e392adc57065a98425ef599d45135698c62124d /drivers/media
parent0b778a56e342e0e1d274298ad47d9af22a9de633 (diff)
V4L/DVB (5012): Usbvision fix: It was using "&&" instead "&"
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/usbvision/usbvision-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/usbvision/usbvision-core.c b/drivers/media/video/usbvision/usbvision-core.c
index 68542f2cf00c..a807d971e273 100644
--- a/drivers/media/video/usbvision/usbvision-core.c
+++ b/drivers/media/video/usbvision/usbvision-core.c
@@ -2311,7 +2311,7 @@ int usbvision_restart_isoc(struct usb_usbvision *usbvision)
2311 usbvision->Vin_Reg2_Preset)) < 0) return ret; 2311 usbvision->Vin_Reg2_Preset)) < 0) return ret;
2312 2312
2313 /* TODO: schedule timeout */ 2313 /* TODO: schedule timeout */
2314 while ((usbvision_read_reg(usbvision, USBVISION_STATUS_REG) && 0x01) != 1); 2314 while ((usbvision_read_reg(usbvision, USBVISION_STATUS_REG) & 0x01) != 1);
2315 2315
2316 return 0; 2316 return 0;
2317} 2317}