usb: dwc3: gadget: Track connected SSP rate and lane count
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>
Wed, 20 Jan 2021 01:36:34 +0000 (17:36 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Feb 2021 13:21:21 +0000 (14:21 +0100)
commitf551037c0770d07e4669d7d4fa423c235291dc59
treee74772559601eaeced27a2629d763414d4d1d141
parent072cab8a0fe276282272e57138d83299e35455eb
usb: dwc3: gadget: Track connected SSP rate and lane count

Track the number of connected lanes and speed in corresponding enum
usb_ssp_rate for SuperSpeed Plus capable device.

Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/2389592188d2e37a2ee45edaf04d942b19f3af82.1611106162.git.Thinh.Nguyen@synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/core.h
drivers/usb/dwc3/gadget.c