aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Baryshkov <[email protected]>2024-03-29 08:15:37 +0200
committerGreg Kroah-Hartman <[email protected]>2024-04-04 17:07:03 +0200
commit41e1cd1401fcd1f1ae9e47574af2d9fc44a870b3 (patch)
tree19eb85db8c7e888515b21e030861e4b2dd65e117 /tools/perf/scripts/python
parentc0f66d78f42353d38b9608c05f211cf0773d93ac (diff)
usb: typec: ucsi: simplify partner's PD caps registration
In a way similar to the previous commit, move typec_partner_set_usb_power_delivery() to be called after reading the PD caps. This also removes calls to usb_power_delivery_unregister_capabilities() from the error path. Keep all capabilities registered until they are cleared by ucsi_unregister_partner_pdos(). Fixes: b04e1747fbcc ("usb: typec: ucsi: Register USB Power Delivery Capabilities") Signed-off-by: Dmitry Baryshkov <[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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions