]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: typec: ucsi: Do not call ACPI _DSM method for UCSI read operations
authorSaranya Gopal <saranya.gopal@intel.com>
Fri, 30 Aug 2024 08:43:42 +0000 (14:13 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Oct 2024 08:16:52 +0000 (10:16 +0200)
commitfa48d7e81624efdf398b990a9049e9cd75a5aead
tree0d41e0ce7e42f17730e535c4cd535a0c1b2d2349
parent64f3b5a6bc49adf77d58eddd72a4bfccd492fa24
usb: typec: ucsi: Do not call ACPI _DSM method for UCSI read operations

ACPI _DSM methods are needed only for UCSI write operations and for reading
CCI during RESET_PPM operation. So, remove _DSM calls from other places.
While there, remove the Zenbook quirk also since the default behavior
now aligns with the Zenbook quirk. With this change, GET_CONNECTOR_STATUS
returns at least 6 seconds faster than before in Arrowlake-S platforms.

Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Saranya Gopal <saranya.gopal@intel.com>
Reviewed-by: Christian A. Ehrhardt <lk@c--e.de>
Link: https://lore.kernel.org/r/20240830084342.460109-1-saranya.gopal@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/ucsi_acpi.c