tusb6010.c (05909cd9a0c8811731b38697af13075e8954314f) | tusb6010.c (93c747ed00c1c74316645f7761f0cdb3f3d3952d) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * TUSB6010 USB 2.0 OTG Dual Role controller 4 * 5 * Copyright (C) 2006 Nokia Corporation 6 * Tony Lindgren <tony@atomide.com> 7 * 8 * Notes: --- 453 unchanged lines hidden (view full) --- 462 && (musb->idle_timeout == 0 463 || time_after(jiffies, musb->idle_timeout))) { 464 dev_dbg(musb->controller, "Nothing connected %s, turning off VBUS\n", 465 usb_otg_state_string(musb->xceiv->otg->state)); 466 } 467 fallthrough; 468 case OTG_STATE_A_IDLE: 469 tusb_musb_set_vbus(musb, 0); | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * TUSB6010 USB 2.0 OTG Dual Role controller 4 * 5 * Copyright (C) 2006 Nokia Corporation 6 * Tony Lindgren <tony@atomide.com> 7 * 8 * Notes: --- 453 unchanged lines hidden (view full) --- 462 && (musb->idle_timeout == 0 463 || time_after(jiffies, musb->idle_timeout))) { 464 dev_dbg(musb->controller, "Nothing connected %s, turning off VBUS\n", 465 usb_otg_state_string(musb->xceiv->otg->state)); 466 } 467 fallthrough; 468 case OTG_STATE_A_IDLE: 469 tusb_musb_set_vbus(musb, 0); |
470 break; |
|
470 default: 471 break; 472 } 473 474 if (!musb->is_active) { 475 u32 wakeups; 476 477 /* wait until hub_wq handles port change status */ --- 798 unchanged lines hidden --- | 471 default: 472 break; 473 } 474 475 if (!musb->is_active) { 476 u32 wakeups; 477 478 /* wait until hub_wq handles port change status */ --- 798 unchanged lines hidden --- |