linux/drivers/usb/typec
Pavan Holla 92c9c3baad usb: typec: Fix fast_role_swap_current show function
The current implementation mistakenly performs a & operation on
the output of sysfs_emit. This patch performs the & operation before
calling sysfs_emit.

Fixes: 662a60102c ("usb: typec: Separate USB Power Delivery from USB Type-C")
Cc: stable <stable@kernel.org>
Reported-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Pavan Holla <pholla@chromium.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Benson Leung <bleung@chromium.org>
Message-ID: <20230607193328.3359487-1-pholla@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-06-13 12:16:07 +02:00
..
altmodes usb: typec: altmodes/displayport: fix pin_assignment_show 2023-05-13 18:45:56 +09:00
mux usb: typec: mux: Introduce GPIO-based SBU mux 2023-01-24 18:15:28 +01:00
tcpm usb: typec: tcpm: fix multiple times discover svids error 2023-04-20 11:04:42 +02:00
tipd usb: typec: tps6598x: Fix broken polling mode after system suspend/resume 2023-05-30 15:29:41 +01:00
ucsi usb: typec: ucsi: Fix command cancellation 2023-06-13 11:52:51 +02:00
anx7411.c usb: typec: anx7411: Convert to i2c's .probe_new() 2022-11-22 17:33:27 +01:00
bus.c USB: mark all struct bus_type as const 2023-03-23 13:22:00 +01:00
bus.h USB: mark all struct bus_type as const 2023-03-23 13:22:00 +01:00
class.c drivers: remove struct module * setting from struct class 2023-03-17 15:16:27 +01:00
class.h
hd3ss3220.c usb: typec: hd3ss3220: Drop of_match_ptr for ID table 2023-03-16 12:15:35 +01:00
Kconfig usb: typec: anx7411: Fix build error without CONFIG_POWER_SUPPLY 2022-09-22 15:21:03 +02:00
Makefile
mux.c drivers: remove struct module * setting from struct class 2023-03-17 15:16:27 +01:00
mux.h
pd.c usb: typec: Fix fast_role_swap_current show function 2023-06-13 12:16:07 +02:00
pd.h
port-mapper.c
qcom-pmic-typec.c usb: typec: qcom-pmic-typec: Switch to use dev_err_probe() helper 2022-09-27 10:35:46 +02:00
retimer.c drivers: remove struct module * setting from struct class 2023-03-17 15:16:27 +01:00
retimer.h usb: typec: Make bus switch code retimer-aware 2023-01-17 17:29:00 +01:00
rt1719.c
stusb160x.c USB/Thunderbolt changes for 6.1-rc1 2022-10-07 16:48:26 -07:00
wusb3801.c usb: typec: wusb3801: fix fwnode refcount leak in wusb3801_probe() 2022-12-08 16:43:22 +01:00