diff options
| author | Badhri Jagan Sridharan <[email protected]> | 2020-12-02 19:19:08 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-12-09 14:45:53 +0100 |
| commit | 3bac42f02d41dd85da7afb9ffc3f4539fad20cc5 (patch) | |
| tree | 16f2650eb438ed81063df7933fb9d2395c71efa7 /drivers/gpu/drm/amd/amdgpu/atom.c | |
| parent | e4a9378083c57a22624cda8b780ff5f5da4de7ef (diff) | |
usb: typec: tcpm: Clear send_discover in tcpm_check_send_discover
tcpm_check_send_discover does not clear the send_discover flag
when any of the following conditions are not met.
1. data_role is TYPEC_HOST
2. link is pd_capable
Discovery indentity would anyways not be attempted during
the current session anymore when the above conditions are not
met. Hence clear the send_discover flag here to prevent
tcpm_enable_frs_work from rescheduling indefinetly.
Reviewed-by: Guenter Roeck <[email protected]>
Acked-by: Heikki Krogerus <[email protected]>
Signed-off-by: Badhri Jagan Sridharan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions