]> git.baikalelectronics.ru Git - kernel.git/commit
usb: cdns3: gadget: Fix g_audio use case when connected to Super-Speed host
authorRoger Quadros <rogerq@ti.com>
Wed, 30 Oct 2019 12:16:07 +0000 (14:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Oct 2019 13:39:07 +0000 (14:39 +0100)
commit33ee687a76f556bd3c5811b8b4cdef064cab3f06
tree2a27651ca7664ffcb558861629b69df3a0ccf49b
parenteebf36d39d252bdf4e51513f3af45da6e470a1aa
usb: cdns3: gadget: Fix g_audio use case when connected to Super-Speed host

Take into account gadget driver's speed limit when programming
controller speed.

Fixes: 890954bdc8d0 ("usb: cdns3: Add Cadence USB3 DRD Driver")
Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Peter Chen <peter.chen@nxp.com>
Link: https://lore.kernel.org/r/20191030121607.21739-1-rogerq@ti.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/cdns3/gadget.c