diff options
author | Dmitry Baryshkov <[email protected]> | 2024-04-11 07:49:53 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-04-18 16:47:23 +0200 |
commit | 24bce22d09ec8e67022aab9a888acb56fb7a996a (patch) | |
tree | 0500b167c2e94e852eb25748d9eea60e8cc8bf9c /rust/helpers/helpers.c | |
parent | 0a723ed3baa941ca4f51d87bab00661f41142835 (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 <[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/helpers.c')
0 files changed, 0 insertions, 0 deletions