Commit a35157f6 authored by Tony Lindgren's avatar Tony Lindgren

musb_hdrc: Search and replace bDelayPortPowerOff with delay_port_power_off

Search and replace bDelayPortPowerOff with delay_port_power_off
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent a75cd5ab
......@@ -451,7 +451,7 @@ struct musb {
#ifdef CONFIG_USB_MUSB_OTG
/* FIXME this can't be OTG-specific ... ? */
u8 bDelayPortPowerOff;
u8 delay_port_power_off;
#endif
#ifdef MUSB_CONFIG_PROC_FS
......
......@@ -557,7 +557,7 @@ static irqreturn_t musb_stage0_irq(struct musb * musb, u8 bIntrUSB,
if (is_peripheral_active(musb)) {
// REVISIT HNP; just force disconnect
}
musb->bDelayPortPowerOff = FALSE;
musb->delay_port_power_off = FALSE;
musb_writew(mbase, MGC_O_HDRC_INTRTXE, musb->wEndMask);
musb_writew(mbase, MGC_O_HDRC_INTRRXE, musb->wEndMask & 0xfffe);
musb_writeb(mbase, MGC_O_HDRC_INTRUSBE, 0xf7);
......
......@@ -116,7 +116,7 @@ static void musb_port_reset(struct musb *musb, u8 bReset)
/* REVISIT this looks wrong for HNP */
u8 devctl = musb_readb(mbase, MGC_O_HDRC_DEVCTL);
if (musb->bDelayPortPowerOff || !(devctl & MGC_M_DEVCTL_HM)) {
if (musb->delay_port_power_off || !(devctl & MGC_M_DEVCTL_HM)) {
return;
}
#endif
......
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