]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
musb_hdrc: musb speling fix
authorDavid Brownell <david-b@pacbell.net>
Wed, 4 Oct 2006 12:46:25 +0000 (15:46 +0300)
committerTony Lindgren <tony@atomide.com>
Wed, 4 Oct 2006 12:46:25 +0000 (15:46 +0300)
Speling fix:  PRCM_WID for wake-on-id, not PRCM_WLD for bits-gone-WLD.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
drivers/usb/musb/tusb6010.c
drivers/usb/musb/tusb6010.h

index 1481780d4a23b670d50d3ae1b1bf24bc7e7b7fa3..677f2fb67c8c5498a6785c4769d0ecef4d0203d3 100644 (file)
@@ -209,9 +209,9 @@ static void tusb_allow_idle(struct musb *musb, u32 wakeup_enables)
        wakeup_enables |= TUSB_PRCM_WNORCS;
        musb_writel(base, TUSB_PRCM_WAKEUP_MASK, ~wakeup_enables);
 
-       /* REVISIT writeup of WLD implies that if WLD set and ID is grounded,
+       /* REVISIT writeup of WID implies that if WID set and ID is grounded,
         * TUSB_PHY_OTG_CTRL.TUSB_PHY_OTG_CTRL_OTG_ID_PULLUP must be cleared.
-        * Presumably that's mostly to save power, hence WLD is immaterial ...
+        * Presumably that's mostly to save power, hence WID is immaterial ...
         */
 
        reg = musb_readl(base, TUSB_PRCM_MNGMT);
@@ -278,7 +278,7 @@ static void musb_do_idle(unsigned long _musb)
                                        | TUSB_PRCM_WBUS
                                        | TUSB_PRCM_WVBUS;
                        if (is_otg_enabled(musb))
-                               wakeups |= TUSB_PRCM_WLD;
+                               wakeups |= TUSB_PRCM_WID;
                }
 #else
                wakeups = TUSB_PRCM_WHOSTDISCON | TUSB_PRCM_WBUS;
index a44a4b3479ec3ea2ff551fd03c26c62f6e171c5c..df73a29d8a991b9e43bfb9546301cd2bbe99dc69 100644 (file)
 #define                TUSB_PRCM_WBUS          (1 << 3)        /* USB bus resume */
 #define                TUSB_PRCM_WNORCS        (1 << 2)        /* NOR chip select */
 #define                TUSB_PRCM_WVBUS         (1 << 1)        /* OTG PHY VBUS */
-#define                TUSB_PRCM_WLD           (1 << 0)        /* OTG PHY ID detect */
+#define                TUSB_PRCM_WID           (1 << 0)        /* OTG PHY ID detect */
 
 #define TUSB_PULLUP_1_CTRL             (TUSB_SYS_REG_BASE + 0x030)
 #define TUSB_PULLUP_2_CTRL             (TUSB_SYS_REG_BASE + 0x034)