Re: [PATCH] drivers: usb: Let USB_OTG be selected without USB_SUSPEND support

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

 



On Fri, 13 Jan 2012, Fabio Estevam wrote:

> commit 6d602610: (USB: fix build on OMAPs if CONFIG_PM_RUNTIME is not set) 
> made USB_OTG selection depend on USB_SUSPEND, but USB_OTG can also run 
> without USB_SUSPEND being selected.

No it can't.  OTG uses port suspends in order to switch between host 
and device roles, and port suspends don't work unless USB_SUSPEND is 
configured.

> This also fixes the following build warning:
> 
> warning: (USB_LANGWELL_OTG && FSL_USB2_OTG && USB_MV_OTG) selects USB_OTG which has unmet direct dependencies (USB_SUPPORT && USB && EXPERIMENTAL && USB_SUSPEND)

Then they should depend on USB_SUSPEND as well.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux