aboutsummaryrefslogtreecommitdiff
path: root/scripts/rustdoc_test_builder.rs
diff options
context:
space:
mode:
authorDiogo Ivo <[email protected]>2024-06-12 14:13:10 +0100
committerGreg Kroah-Hartman <[email protected]>2024-06-20 19:36:08 +0200
commit9e3caa9dd51b23e232f095a98336a84f42e4a7f2 (patch)
tree9e7e0ad2b9ba0b5ad85aaa34bdee214cbfb60047 /scripts/rustdoc_test_builder.rs
parent8e1ec117efdfd4b2f59f57bd0ad16b4edf5b963f (diff)
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 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions