[PATCH v2] [RESEND] Enable USB gadget subsystem outside ARM

Josh Boyer jwboyer at fedoraproject.org
Wed Mar 5 15:14:58 UTC 2014


On Wed, Mar 5, 2014 at 4:49 AM, Peter Robinson <pbrobinson at gmail.com> wrote:
> On Wed, Mar 5, 2014 at 9:37 AM, Lubomir Rintel <lkundrak at v3.sk> wrote:
>> It's generally useful. On other architectures the UDC capable hardware might
>> not be very common, but the dummy HCD makes it possible to use such hardware
>> for development and emulation of USB gadget driver code.
>
> ACK from me

I'm not at all sold on this to be honest.  Coverity just picked up a
bunch of issues in this subsystem during the last merge window and the
overall USB subsystem maintainer doesn't even enable these drivers in
his build testing.  It seems to be a lot of churn for very little
gain.

Also, if the dummy HCD driver is the only marginally useful thing on
x86, why copy all of the stuff in the ARM config blindly?  Isn't it
feasible to enable GADGET and HCD on x86 and leave everything else
off?

josh


More information about the kernel mailing list