summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorChristian A. Ehrhardt <lk@c--e.de>2024-04-02 00:05:15 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-04-04 16:17:13 +0300
commitce4c8d21054ae9396cd759fe6e8157b525616dc4 (patch)
tree8b70ffa9aaeb01ce73f315b568cac78e392e9518 /drivers/usb/gadget
parent3f03e7717c2999473a3ed38475ed0a962ba9f393 (diff)
downloadlinux-ce4c8d21054ae9396cd759fe6e8157b525616dc4.tar.xz
usb: typec: ucsi: Fix connector check on init
Fix issues when initially checking for a connector change: - Use the correct connector number not the entire CCI. - Call ->read under the PPM lock. - Remove a bogus READ_ONCE. Fixes: 808a8b9e0b87 ("usb: typec: ucsi: Check for notifications after init") Cc: stable@kernel.org Signed-off-by: Christian A. Ehrhardt <lk@c--e.de> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20240401210515.1902048-1-lk@c--e.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/gadget')
0 files changed, 0 insertions, 0 deletions