aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2024-04-11 07:49:53 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-04-18 16:47:23 +0200
commit24bce22d09ec8e67022aab9a888acb56fb7a996a (patch)
tree0500b167c2e94e852eb25748d9eea60e8cc8bf9c /tools/perf/util/scripting-engines/trace-event-python.c
parent0a723ed3baa941ca4f51d87bab00661f41142835 (diff)
usb: typec: ucsi: add callback for connector status updates
Allow UCSI glue driver to perform addtional work to update connector status. For example, it might check the cable orientation. This call is performed after reading new connector statatus, so the platform driver can peek at new connection status bits. The callback is called both when registering the port and when the connector change event is being handled. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20240411-ucsi-orient-aware-v2-1-d4b1cb22a33f@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions