]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: typec: ucsi: acpi: move LG Gram quirk to ucsi_gram_sync_control()
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Mon, 20 Jan 2025 09:16:45 +0000 (11:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Feb 2025 15:29:06 +0000 (16:29 +0100)
commitf9cf5401526c5bfb85d91f14664bf75d1889e7d2
tree6944a05e2132e56f8ee72070da4126c199c624a0
parent7f82635494ef3391ff6b542249793c7febf99c3f
usb: typec: ucsi: acpi: move LG Gram quirk to ucsi_gram_sync_control()

It is easier to keep all command-specific quirks in a single place. Move
them to ucsi_gram_sync_control() as the code now allows us to return
modified messages data.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20250120-ucsi-merge-commands-v2-3-462a1ec22ecc@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/ucsi_acpi.c