aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/pci.c
diff options
context:
space:
mode:
authorMyrrh Periwinkle <[email protected]>2025-07-21 06:32:51 +0000
committerGreg Kroah-Hartman <[email protected]>2025-07-21 14:33:23 +0000
commit7616f006db07017ef5d4ae410fca99279aaca7aa (patch)
tree0c67d65cf1eadd6235c38613b28e0f30465891a4 /rust/helpers/pci.c
parentusb: typec: ucsi: psy: Set current max to 100mA for BC 1.2 and Default (diff)
downloadkernel-7616f006db07017ef5d4ae410fca99279aaca7aa.tar.gz
kernel-7616f006db07017ef5d4ae410fca99279aaca7aa.zip
usb: typec: ucsi: Update power_supply on power role change
The current power direction of an USB-C port also influences the power_supply's online status, so a power role change should also update the power_supply. Fixes an issue on some systems where plugging in a normal USB device in for the first time after a reboot will cause upower to erroneously consider the system to be connected to AC power. Cc: stable <[email protected]> Fixes: 0e6371fbfba3 ("usb: typec: ucsi: Report power supply changes") Signed-off-by: Myrrh Periwinkle <[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 'rust/helpers/pci.c')
0 files changed, 0 insertions, 0 deletions