diff options
author | Christian A. Ehrhardt <lk@c--e.de> | 2024-03-20 08:39:26 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-03-26 15:00:48 +0100 |
commit | 3de4f996a0b5412aa451729008130a488f71563e (patch) | |
tree | f0294bbab90834eb3399833ffc6fb5dcce69e8be /crypto/arc4.c | |
parent | 6aaceb7d9cd00f3e065dc4b054ecfe52c5253b03 (diff) | |
download | linux-stable-3de4f996a0b5412aa451729008130a488f71563e.tar.gz linux-stable-3de4f996a0b5412aa451729008130a488f71563e.tar.bz2 linux-stable-3de4f996a0b5412aa451729008130a488f71563e.zip |
usb: typec: ucsi: Clear UCSI_CCI_RESET_COMPLETE before reset
Check the UCSI_CCI_RESET_COMPLETE complete flag before starting
another reset. Use a UCSI_SET_NOTIFICATION_ENABLE command to clear
the flag if it is set.
Signed-off-by: Christian A. Ehrhardt <lk@c--e.de>
Cc: stable <stable@kernel.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8550-QRD
Link: https://lore.kernel.org/r/20240320073927.1641788-6-lk@c--e.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/arc4.c')
0 files changed, 0 insertions, 0 deletions