OpenCloudOS-Kernel/drivers/usb/typec
Colin Ian King a684d8fd87 typec: tcpm: fix a typo in the comparison of pdo_max_voltage
There appears to be a typo in the comparison of pdo_max_voltage[i]
with the previous value, currently it is checking against the
array pdo_min_voltage rather than pdo_max_voltage. I believe this
is a typo. Fix this.

Addresses-Coverity: ("Copy-paste error")
Fixes: 5007e1b5db ("typec: tcpm: Validate source and sink caps")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20190822135212.10195-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-08-28 22:48:37 +02:00
..
altmodes usb: typec: Add driver for NVIDIA Alt Modes 2019-04-25 11:04:56 +02:00
mux usb: typec: Registering real device entries for the muxes 2019-06-03 10:55:38 +02:00
tcpm typec: tcpm: fix a typo in the comparison of pdo_max_voltage 2019-08-28 22:48:37 +02:00
ucsi usb: typec: ucsi: ccg: Fix uninitilized symbol error 2019-08-01 18:25:03 +02:00
Kconfig USB: add missing SPDX lines to Kconfig and Makefiles 2019-01-22 09:08:17 +01:00
Makefile usb: typec: Group all TCPCI/TCPM code together 2018-09-20 13:37:29 +02:00
bus.c usb: typec: Make sure an alt mode exist before getting its partner 2019-06-12 17:13:02 +02:00
bus.h usb: typec: Registering real device entries for the muxes 2019-06-03 10:55:38 +02:00
class.c usb: typec: Registering real device entries for the muxes 2019-06-03 10:55:38 +02:00
mux.c usb: typec: Registering real device entries for the muxes 2019-06-03 10:55:38 +02:00
tps6598x.c drivers/usb/typec/tps6598x.c: fix 4CC cmd write 2019-07-03 18:40:49 +02:00