diff options
| author | Badhri Jagan Sridharan <[email protected]> | 2021-04-07 13:07:20 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-04-09 15:21:25 +0200 |
| commit | 4050f2683f2c3151dc3dd1501ac88c57caf810ff (patch) | |
| tree | f3c9b576b8955273ebb5af5add44ecca4d0061a9 /include/linux/usb | |
| parent | e3a0720224873587954b55d193d5b4abb14f0443 (diff) | |
usb: typec: tcpm: update power supply once partner accepts
power_supply_changed needs to be called to notify clients
after the partner accepts the requested values for the pps
case.
Also, remove the redundant power_supply_changed at the end
of the tcpm_reset_port as power_supply_changed is already
called right after usb_type is changed.
Fixes: f2a8aa053c176 ("typec: tcpm: Represent source supply through power_supply")
Signed-off-by: Badhri Jagan Sridharan <[email protected]>
Cc: stable <[email protected]>
Reviewed-by: Adam Thomson <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/usb')
0 files changed, 0 insertions, 0 deletions