Commit 2f632717 authored by Tony Lindgren's avatar Tony Lindgren

musb_hdrc: Search and replace bIgnoreDisconnect with ignore_disconnect

Search and replace bIgnoreDisconnect with ignore_disconnect
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 90129a47
......@@ -397,7 +397,7 @@ struct musb {
unsigned is_multipoint:1;
unsigned is_host:1;
unsigned bIgnoreDisconnect:1; /* during bus resets */
unsigned ignore_disconnect:1; /* during bus resets */
int a_wait_bcon; /* VBUS timeout in msecs */
unsigned long idle_timeout; /* Next timeout in jiffies */
......
......@@ -690,7 +690,7 @@ static irqreturn_t musb_stage2_irq(struct musb * musb, u8 bIntrUSB,
}
#endif
if ((bIntrUSB & MGC_M_INTR_DISCONNECT) && !musb->bIgnoreDisconnect) {
if ((bIntrUSB & MGC_M_INTR_DISCONNECT) && !musb->ignore_disconnect) {
DBG(1, "DISCONNECT (%s) as %s, devctl %02x\n",
otg_state_string(musb),
MUSB_MODE(musb), devctl);
......
......@@ -145,7 +145,7 @@ static void musb_port_reset(struct musb *musb, u8 bReset)
msleep(1);
}
musb->bIgnoreDisconnect = TRUE;
musb->ignore_disconnect = TRUE;
power &= 0xf0;
musb_writeb(mbase, MGC_O_HDRC_POWER,
power | MGC_M_POWER_RESET);
......@@ -158,7 +158,7 @@ static void musb_port_reset(struct musb *musb, u8 bReset)
musb_writeb(mbase, MGC_O_HDRC_POWER,
power & ~MGC_M_POWER_RESET);
musb->bIgnoreDisconnect = FALSE;
musb->ignore_disconnect = FALSE;
power = musb_readb(mbase, MGC_O_HDRC_POWER);
if (power & MGC_M_POWER_HSMODE) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment