----- Forwarded Message ----
From: Alexey Dobriyan <adobriyan@xxxxxxxxx>
To: linux-usb-devel@xxxxxxxxxxxxxxxxxxxxx
Cc: Joerg Heckenbach <joerg@xxxxxxxxxxxxxxxx>; Dwaine Garden <DwaineGarden@xxxxxxxxxx>
Sent: Friday, December 22, 2006 6:27:59 PM
Subject: [PATCH] usbvision: "&& 0x", duh
From: Alexey Dobriyan <adobriyan@xxxxxxxxx>
To: linux-usb-devel@xxxxxxxxxxxxxxxxxxxxx
Cc: Joerg Heckenbach <joerg@xxxxxxxxxxxxxxxx>; Dwaine Garden <DwaineGarden@xxxxxxxxxx>
Sent: Friday, December 22, 2006 6:27:59 PM
Subject: [PATCH] usbvision: "&& 0x", duh
Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
---
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;
}
---
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;
}
_______________________________________________ linux-dvb mailing list linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb