]> git.baikalelectronics.ru Git - kernel.git/commit
usb: core: hub: Remove port_speed_is_ssp()
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>
Thu, 11 Mar 2021 03:42:53 +0000 (19:42 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Mar 2021 12:12:41 +0000 (13:12 +0100)
commit3ef88f32fd90cdb202912227919dc8c1c3fd8cd5
treecafea1ad44a690a2c5b245e66f69fa949407f481
parent4e53da3b2f9af2c19fea41da993d837265e5c088
usb: core: hub: Remove port_speed_is_ssp()

The get_port_ssp_rate() can replace port_speed_is_ssp(). If the port
speed is detected to be in gen2x1, gen1x2, or gen2x2, then the port is
operating at SuperSpeed Plus.

Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/dfd61ae637597bad502d2420b4dbd3774fc76aab.1615432770.git.Thinh.Nguyen@synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hub.c