WS cleanup: remove SPACE(s) followed by TAB
[platform/kernel/u-boot.git] / drivers / usb / musb / musb_hcd.c
index 1f28052..1790170 100644 (file)
@@ -8,11 +8,13 @@
  */
 
 #include <common.h>
+#include <log.h>
 #include <usb.h>
+#include <linux/delay.h>
 #include "musb_hcd.h"
 
 /* MSC control transfers */
-#define USB_MSC_BBB_RESET      0xFF
+#define USB_MSC_BBB_RESET      0xFF
 #define USB_MSC_BBB_GET_MAX_LUN        0xFE
 
 /* Endpoint configuration information */
@@ -325,7 +327,7 @@ static int ctrlreq_out_data_phase(struct usb_device *dev, u32 len, void *buffer)
 
                /* Set TXPKTRDY bit */
                csr = readw(&musbr->txcsr);
-                       
+
                csr |= MUSB_CSR0_TXPKTRDY;
                csr |= MUSB_CSR0_H_DIS_PING;
                writew(csr, &musbr->txcsr);
@@ -1049,8 +1051,8 @@ int usb_lowlevel_stop(int index)
  * This function supports usb interrupt transfers. Currently, usb interrupt
  * transfers are not supported.
  */
-int submit_int_msg(struct usb_device *dev, unsigned long pipe,
-                               void *buffer, int len, int interval)
+int submit_int_msg(struct usb_device *dev, unsigned long pipe, void *buffer,
+                  int len, int interval, bool nonblock)
 {
        int dir_out = usb_pipeout(pipe);
        int ep = usb_pipeendpoint(pipe);