Re: [PATCH V3] usb: gadget: bcm63xx UDC driver

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

 



On Sat, 25 Aug 2012, Kevin Cernekee wrote:

> I am hoping that these invalid SET_CONFIGURATION / SET_INTERFACE
> requests are uncommon.  In what sorts of situations will a host
> request a configuration that isn't advertised in the device's
> descriptors?  I had trouble just convincing usb_set_interface() /
> usb_driver_set_configuration() to send such a request because they
> honor bInterfaceNumber / bConfigurationValue from the descriptors.

A request doesn't have to be invalid to fail.  Valid requests can fail
for all sorts of reasons.  -ENOMEM is the prototypical example.

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