Re: [PATCH] usb: remove unnecessary CONFIG_PM dependency from USB_OTG

From: Nathan Sullivan
Date: Mon Oct 05 2015 - 17:12:54 EST


On Mon, Oct 05, 2015 at 02:33:56PM -0500, Felipe Balbi wrote:
>
> IIRC we had this dependency because OTG needs support USB bus suspend
> and afaict, that's only available on PM builds
>
> --
> balbi

Hmm, our use case is separate device and host controllers on a Bay Trail
system. We don't ever need to suspend the bus, since the roles are fixed.
Also, the system is running RT tasks and we don't want PM on.

Maybe the device-side USB option should be separate from the OTG option? We
really don't want HNP or any of the dual-role features, just support for
gadget drivers and USB device controllers.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/