Commit 70bdd9c8 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Mauro Carvalho Chehab

V4L/DVB (5012): Usbvision fix: It was using "&&" instead "&"

Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 0b778a56
...@@ -2311,7 +2311,7 @@ int usbvision_restart_isoc(struct usb_usbvision *usbvision) ...@@ -2311,7 +2311,7 @@ int usbvision_restart_isoc(struct usb_usbvision *usbvision)
usbvision->Vin_Reg2_Preset)) < 0) return ret; usbvision->Vin_Reg2_Preset)) < 0) return ret;
/* TODO: schedule timeout */ /* 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; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment