]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: typec: ucsi: ccg: move command quirks to ucsi_ccg_sync_control()
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Mon, 20 Jan 2025 09:16:44 +0000 (11:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Feb 2025 15:29:05 +0000 (16:29 +0100)
commit7f82635494ef3391ff6b542249793c7febf99c3f
treeb10696334eef306de1487a9c0c24e09d248fe48c
parent667ecac55861281c1f5e107c8550ae893b3984f6
usb: typec: ucsi: ccg: move command quirks to ucsi_ccg_sync_control()

It is easier to keep all command-specific quirks in a single place. Move
them to ucsi_ccg_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-2-462a1ec22ecc@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/ucsi_ccg.c