linux/drivers/usb/typec
Badhri Jagan Sridharan 8b8a84234c usb: typec: tcpm: Invoke power_supply_changed for tcpm-source-psy-
commit 86629e098a upstream.

tcpm-source-psy- does not invoke power_supply_changed API when
one of the published power supply properties is changed.
power_supply_changed needs to be called to notify
userspace clients(uevents) and kernel clients.

Fixes: f2a8aa053c ("typec: tcpm: Represent source supply through power_supply")
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210317181249.1062995-1-badhri@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2021-03-25 09:04:14 +01:00
..
altmodes usb: typec: Fix copy paste error for NVIDIA alt-mode description 2021-01-19 18:27:27 +01:00
mux usb: typec: intel_pmc_mux: Configure HPD first for HPD+IRQ request 2021-01-12 20:18:18 +01:00
tcpm usb: typec: tcpm: Invoke power_supply_changed for tcpm-source-psy- 2021-03-25 09:04:14 +01:00
ucsi usb: typec: ucsi: Report power supply changes 2020-11-13 15:25:02 +01:00
bus.c usb: typec: altmode: Fix typec_altmode_get_partner sometimes returning an invalid pointer 2020-04-22 19:23:19 +02:00
bus.h usb: typec: altmode: Remove the notification chain 2020-02-12 10:51:21 -08:00
class.c usb: typec: add typec_find_pwr_opmode 2020-10-02 15:30:31 +02:00
hd3ss3220.c usb: typec: hd3ss3220: Use OF graph API to get the connector fwnode 2020-10-02 15:28:18 +02:00
Kconfig usb: typec: qcom-pmic-typec: fix builtin build errors 2020-11-16 09:58:47 +01:00
Makefile usb: typec: Add QCOM PMIC typec detection driver 2020-10-09 15:14:43 +02:00
mux.c usb: fix kernel-doc markups 2020-10-28 13:18:56 +01:00
qcom-pmic-typec.c usb: typec: Add QCOM PMIC typec detection driver 2020-10-09 15:14:43 +02:00
stusb160x.c usb: typec: stusb160x: fix power-opmode property with typec-power-opmode 2020-11-27 14:44:26 +01:00
tps6598x.c usb: typec: Remove vdo[3] part of tps6598x_rx_identity_reg struct 2021-03-25 09:04:14 +01:00