[linux-dvb] Fw: [PATCH] usbvision: "&& 0x", duh

Dwaine Garden dwainegarden at rogers.com
Sun Dec 24 19:52:54 CET 2006



----- Forwarded Message ----
From: Alexey Dobriyan <adobriyan at gmail.com>
To: linux-usb-devel at lists.sourceforge.net
Cc: Joerg Heckenbach <joerg at heckenbach-aw.de>; Dwaine Garden <DwaineGarden at rogers.com>
Sent: Friday, December 22, 2006 6:27:59 PM
Subject: [PATCH] usbvision: "&& 0x", duh

Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>
---

 drivers/media/video/usbvision/usbvision-core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/media/video/usbvision/usbvision-core.c
+++ b/drivers/media/video/usbvision/usbvision-core.c
@@ -2305,7 +2305,7 @@ int usbvision_restart_isoc(struct usb_us
                   usbvision->Vin_Reg2_Preset)) < 0) return ret;
 
     /* TODO: schedule timeout */
-    while ((usbvision_read_reg(usbvision, USBVISION_STATUS_REG) && 0x01) != 1);
+    while ((usbvision_read_reg(usbvision, USBVISION_STATUS_REG) & 0x01) != 1);
 
     return 0;
 }





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20061224/ef1d76e7/attachment.htm


More information about the linux-dvb mailing list