X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=drivers%2Fusb%2Fsl811_usb.c;h=159cc2527515505b4f390f4da7a7ca9c672818ca;hb=61c5b8c64da1f149cebe6d612500099454c8ef55;hp=c1f8427c965866867327e576a835d628bf14b76d;hpb=9caeaadf508cd0e11ac5dfc56ab0f72e3b89a105;p=oweals%2Fu-boot.git diff --git a/drivers/usb/sl811_usb.c b/drivers/usb/sl811_usb.c index c1f8427c96..159cc25275 100644 --- a/drivers/usb/sl811_usb.c +++ b/drivers/usb/sl811_usb.c @@ -264,7 +264,7 @@ static int sl811_send_packet(struct usb_device *dev, unsigned long pipe, __u8 *b ctrl &= ~SL811_USB_CTRL_SOF; sl811_write(SL811_CTRL_A, ctrl); - while (!(sl811_read(SL811_INTRSTS) & SL811_INTR_DONE_A)) { + while (!(sl811_read(SL811_INTRSTS) & SL811_INTR_DONE_A)) { if (5*CFG_HZ < get_timer(time_start)) { printf("USB transmit timed out\n"); return -USB_ST_CRC_ERR;