]> git.sur5r.net Git - u-boot/blobdiff - drivers/usb/host/ohci-s3c24xx.c
power: change from meaningless value to error number
[u-boot] / drivers / usb / host / ohci-s3c24xx.c
index 3c659c60c97a5893309c3861ff75a06d1aefa2a8..28b9ab51769013cbc1c8967dc586ba0c04b57dda 100644 (file)
@@ -35,9 +35,6 @@
 #define        OHCI_CONTROL_INIT \
        (OHCI_CTRL_CBSR & 0x3) | OHCI_CTRL_IE | OHCI_CTRL_PLE
 
-#define min_t(type, x, y) \
-       ({ type __x = (x); type __y = (y); __x < __y ? __x : __y; })
-
 #undef DEBUG
 #ifdef DEBUG
 #define dbg(format, arg...) printf("DEBUG: " format "\n", ## arg)
@@ -680,7 +677,7 @@ static void td_submit_job(struct usb_device *dev, unsigned long pipe,
        unsigned int toggle = 0;
 
        /* OHCI handles the DATA-toggles itself, we just
-          use the USB-toggle bits for reseting */
+          use the USB-toggle bits for resetting */
        if (usb_gettoggle(dev, usb_pipeendpoint(pipe), usb_pipeout(pipe))) {
                toggle = TD_T_TOGGLE;
        } else {