Re: [RFC PATCH 3/5] USB: MUSB: Do not turn vbus on immediately

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Felipe Balbi <felipe.balbi@xxxxxxxxx> [080513 05:35]:
> From: ext Felipe Balbi <felipe.balbi@xxxxxxxxx>
> 
> Wait for user interaction to turn vbus on.
> On end user products, this behavior could be
> masked under some application with permission to
> write to /sys/devices/platform/musb_hdrc/session.

Again, this breaks USB host support for basic USB devices.

Tony

> Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxx>
> ---
>  drivers/usb/musb/tusb6010.c |    5 -----
>  1 files changed, 0 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/usb/musb/tusb6010.c b/drivers/usb/musb/tusb6010.c
> index 9f92cef..14220d9 100644
> --- a/drivers/usb/musb/tusb6010.c
> +++ b/drivers/usb/musb/tusb6010.c
> @@ -675,11 +675,6 @@ tusb_otg_ints(struct musb *musb, u32 int_src, void __iomem *tbase)
>  		musb->xceiv.default_a = default_a;
>  		musb->xceiv.state = default_a ? OTG_STATE_A_IDLE
>  			: OTG_STATE_B_IDLE;
> -		tusb_source_power(musb, default_a);
> -
> -		/* Don't allow idling immediately */
> -		if (default_a)
> -			idle_timeout = jiffies + (HZ * 3);
>  	}
>  
>  	/* VBUS state change */
> -- 
> 1.5.5.1.125.gc697a
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux