usb: typec: ucsi_glink: drop special handling for CCI_BUSY
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Mon, 8 Apr 2024 01:04:17 +0000 (04:04 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Apr 2024 15:38:58 +0000 (17:38 +0200)
commit1a395af9d53c6240bf7799abc43b4dc292ca9dd0
treeb065fc567a2605aa40c4383d383a02d1ed338c57
parentc82d6cbb03ccb7ca0162f144ffa320479588b792
usb: typec: ucsi_glink: drop special handling for CCI_BUSY

Newer Qualcomm platforms (sm8450+) successfully handle busy state and
send the Command Completion after sending the Busy state. Older devices
have firmware bug and can not continue after sending the CCI_BUSY state,
but the command that leads to CCI_BUSY is already forbidden by the
NO_PARTNER_PDOS quirk.

Follow other UCSI glue drivers and drop special handling for CCI_BUSY
event. Let the UCSI core properly handle this state.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20240408-qcom-ucsi-fixes-bis-v1-3-716c145ca4b1@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/ucsi_glink.c