mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
V4L/DVB (5012): Usbvision fix: It was using "&&" instead "&"
Signed-off-by: Alexey Dobriyan <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
0b778a56e3
commit
70bdd9c83a
1 changed files with 1 additions and 1 deletions
|
|
@ -2311,7 +2311,7 @@ int usbvision_restart_isoc(struct usb_usbvision *usbvision)
|
|||
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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue