diff options
author | Kyle Tso <[email protected]> | 2021-05-07 14:22:59 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-05-10 15:52:06 +0200 |
commit | c34e85fa69b9f4568f19da3af06c3870dd8fcc50 (patch) | |
tree | 525016440edfb9a52f45e58e4427d400984fda16 /lib/compat_audit.c | |
parent | 1f4642b72be79757f050924a9b9673b6a02034bc (diff) |
usb: typec: tcpm: Send DISCOVER_IDENTITY from dedicated work
In current design, DISCOVER_IDENTITY is queued to VDM state machine
immediately in Ready states and never retries if it fails in the AMS.
Move the process to a delayed work so that when it fails for some
reasons (e.g. Sink Tx No Go), it can be retried by queueing the work
again. Also fix a problem that the vdm_state is not set to a proper
state if it is blocked by Collision Avoidance mechanism.
Reviewed-by: Guenter Roeck <[email protected]>
Acked-by: Heikki Krogerus <[email protected]>
Signed-off-by: Kyle Tso <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/compat_audit.c')
0 files changed, 0 insertions, 0 deletions