usb: typec: ucsi: fix UCSI on SM8550 & SM8650 Qualcomm devices
authorNeil Armstrong <neil.armstrong@linaro.org>
Fri, 23 Feb 2024 09:40:40 +0000 (10:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Mar 2024 13:08:38 +0000 (13:08 +0000)
commit4a30dcac38c2b34f5b4f358630774bc2c2c104b0
tree8cd0c8ed926b9625048d4f722b81113e4157f96c
parent014bcf41d946b36a8f0b8e9b5d9529efbb822f49
usb: typec: ucsi: fix UCSI on SM8550 & SM8650 Qualcomm devices

On SM8550 and SM8650 Qualcomm platforms a call to UCSI_GET_PDOS for
non-PD partners will cause a firmware crash with no
easy way to recover from it.

Add UCSI_NO_PARTNER_PDOS quirk for those platform until we find
a way to properly handle the crash.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20240223-topic-sm8550-upstream-ucsi-no-pdos-v1-1-8900ad510944@linaro.org
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/ucsi_glink.c