usb: Inform the USB Type-C class about enumerated devices
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Wed, 11 Oct 2023 10:58:25 +0000 (13:58 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Oct 2023 18:02:36 +0000 (20:02 +0200)
commit11110783f5ea866318831a56353c6f1c3fc0d8ed
tree4cd4afbf946dbcaab34e81c7366f941cd4124efd
parent59de2a56d127890cc610f3896d5fc31887c54ac2
usb: Inform the USB Type-C class about enumerated devices

The Type-C port drivers can make PM related decisions based
on is the device USB3 or USB2.

Suggested-by: Benson Leung <bleung@chromium.org>
Tested-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20231011105825.320062-3-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hub.c
drivers/usb/core/hub.h
drivers/usb/core/port.c