Commit 7d511499 authored by Tony Lindgren's avatar Tony Lindgren

musb_hdrc: Search and replace bTestMode with test_mode

Search and replace bTestMode with test_mode
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 61a2e3be
...@@ -333,7 +333,7 @@ __acquires(musb->lock) ...@@ -333,7 +333,7 @@ __acquires(musb->lock)
/* enter test mode after irq */ /* enter test mode after irq */
if (handled > 0) if (handled > 0)
musb->bTestMode = TRUE; musb->test_mode = TRUE;
break; break;
#ifdef CONFIG_USB_MUSB_OTG #ifdef CONFIG_USB_MUSB_OTG
case USB_DEVICE_B_HNP_ENABLE: case USB_DEVICE_B_HNP_ENABLE:
...@@ -667,7 +667,7 @@ irqreturn_t musb_g_ep0_irq(struct musb *musb) ...@@ -667,7 +667,7 @@ irqreturn_t musb_g_ep0_irq(struct musb *musb)
} }
/* enter test mode if needed (exit by reset) */ /* enter test mode if needed (exit by reset) */
else if (musb->bTestMode) { else if (musb->test_mode) {
DBG(1, "entering TESTMODE\n"); DBG(1, "entering TESTMODE\n");
if (MGC_M_TEST_PACKET == musb->test_mode_nr) if (MGC_M_TEST_PACKET == musb->test_mode_nr)
......
...@@ -438,7 +438,7 @@ struct musb { ...@@ -438,7 +438,7 @@ struct musb {
unsigned is_bus_powered:1; unsigned is_bus_powered:1;
unsigned bSetAddress:1; unsigned bSetAddress:1;
unsigned bTestMode:1; unsigned test_mode:1;
unsigned softconnect:1; unsigned softconnect:1;
enum musb_g_ep0_state ep0_state; enum musb_g_ep0_state ep0_state;
......
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