diff options
| author | Diogo Ivo <[email protected]> | 2024-06-12 13:13:10 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-06-20 17:36:08 +0000 |
| commit | 9e3caa9dd51b23e232f095a98336a84f42e4a7f2 (patch) | |
| tree | 9e7e0ad2b9ba0b5ad85aaa34bdee214cbfb60047 /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c | |
| parent | usb: ucsi: stm32: fix command completion handling (diff) | |
| download | kernel-9e3caa9dd51b23e232f095a98336a84f42e4a7f2.tar.gz kernel-9e3caa9dd51b23e232f095a98336a84f42e4a7f2.zip | |
usb: typec: ucsi_acpi: Add LG Gram quirk
Some LG Gram laptops report a bogus connector change event after a
GET_PDOS command for the partner's source PDOs, which disappears from
the CCI after acknowledging the command. However, the subsequent
GET_CONNECTOR_STATUS in ucsi_handle_connector_change() still reports
this bogus change in bits 5 and 6, leading to the UCSI core re-checking
the partner's source PDOs and thus to an infinite loop.
Fix this by adding a quirk that signals when a potentially buggy GET_PDOS
command is used, checks the status change report and clears it if it is a
bogus event before sending it to the UCSI core.
Signed-off-by: Diogo Ivo <[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 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions
