diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2022-09-22 17:59:24 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-09-27 11:50:01 +0300 |
commit | 415ba26cb73f7d22a892043301b91b57ae54db02 (patch) | |
tree | 18ec396a1fefdb0eb5d9bf894a88960550c2ef66 /drivers/usb/dwc3/dwc3-st.c | |
parent | f208ce4d45c5884eae2b8a67bed1c3d646cafc15 (diff) | |
download | linux-415ba26cb73f7d22a892043301b91b57ae54db02.tar.xz |
usb: typec: ucsi: Remove incorrect warning
Sink only devices do not have any source capabilities, so
the driver should not warn about that. Also DRP (Dual Role
Power) capable devices, such as USB Type-C docking stations,
do not return any source capabilities unless they are
plugged to a power supply themselves.
Fixes: 1f4642b72be7 ("usb: typec: ucsi: Retrieve all the PDOs instead of just the first 4")
Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
Cc: <stable@vger.kernel.org>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20220922145924.80667-1-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/dwc3/dwc3-st.c')
0 files changed, 0 insertions, 0 deletions