From: David Brownell Date: Wed, 4 Oct 2006 12:46:25 +0000 (+0300) Subject: musb_hdrc: musb speling fix X-Git-Tag: v2.6.18-omap1~20 X-Git-Url: http://pilppa.org/gitweb/?a=commitdiff_plain;h=e55451b101a9edad46838ab4e436084f1b31d88b;p=linux-2.6-omap-h63xx.git musb_hdrc: musb speling fix Speling fix: PRCM_WID for wake-on-id, not PRCM_WLD for bits-gone-WLD. Signed-off-by: David Brownell --- diff --git a/drivers/usb/musb/tusb6010.c b/drivers/usb/musb/tusb6010.c index 1481780d4a2..677f2fb67c8 100644 --- a/drivers/usb/musb/tusb6010.c +++ b/drivers/usb/musb/tusb6010.c @@ -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; diff --git a/drivers/usb/musb/tusb6010.h b/drivers/usb/musb/tusb6010.h index a44a4b3479e..df73a29d8a9 100644 --- a/drivers/usb/musb/tusb6010.h +++ b/drivers/usb/musb/tusb6010.h @@ -124,7 +124,7 @@ #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)