• Sebastian Andrzej Siewior's avatar
    usb: gadget: check for streams only for SS udcs · c74c9300
    Sebastian Andrzej Siewior authored
    Currently the UASP gadget fails to bind on an UDC which does not provide
    stream support. This is true for all udc in tree except for dummy and
    dwc3 since they don't support SuperSpeed.
    There is no need to test for the availability of stream support on those
    UDCs because we will never even try to use them. I think it is sane to
    assume that StreamSupport is always available on SuperSpeed since it is
    one of the key features.
    The host side will only allocate on SS so this part is also fine.
    Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
    Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
    c74c9300
epautoconf.c 11.6 KB