diff options
| author | 2026-05-19 18:41:40 +0700 | |
|---|---|---|
| committer | 2026-05-21 16:57:15 +0200 | |
| commit | d98d413ca65d0790a8f3695d0a5845538958ab84 (patch) | |
| tree | 696357f33c900a7f48c9f91267da3a22969a4213 /tools/lib/python/kdoc/python_version.py | |
| parent | usb: typec: ucsi: Check if power role change actually happened before handling (diff) | |
usb: typec: ucsi: Don't update power_supply on power role change if not connected
We only need to update the power_supply on power role change if the port
is connected, because otherwise the online status should be the same for
both cases.
Cc: stable <stable@kernel.org>
Fixes: 7616f006db07 ("usb: typec: ucsi: Update power_supply on power role change")
Signed-off-by: Myrrh Periwinkle <myrrhperiwinkle@qtmlabs.xyz>
Reported-and-tested-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Link: https://patch.msgid.link/20260519-ucsi-fix-2-v1-2-6f1239535187@qtmlabs.xyz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
