]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: typec: ucsi: Add poll_cci operation to cros_ec_ucsi
authorJameson Thies <jthies@google.com>
Fri, 11 Jul 2025 20:20:33 +0000 (20:20 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jul 2025 17:50:01 +0000 (19:50 +0200)
commit300386d117a98961fc1d612d1f1a61997d731b8a
treef89ac339efec445e5b6ee8ce202ed1b33d582f4f
parent8a0ca581402b40f3f13a1b8fc96ae5ab1384a041
usb: typec: ucsi: Add poll_cci operation to cros_ec_ucsi

cros_ec_ucsi fails to allocate a UCSI instance in it's probe function
because it does not define all operations checked by ucsi_create.
Update cros_ec_ucsi operations to use the same function for read_cci
and poll_cci.

Signed-off-by: Jameson Thies <jthies@google.com>
Reviewed-by: Benson Leung <bleung@chromium.org>
Link: https://lore.kernel.org/r/20250711202033.2201305-1-jthies@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/cros_ec_ucsi.c