diff options
author | 2023-12-08 13:36:02 +0100 | |
---|---|---|
committer | 2023-12-15 14:00:28 +0100 | |
commit | c994cb596bf7ef5928f06331c76f46e071b16f09 (patch) | |
tree | c027ab87b8d39fed5cfa3254d8a525ca994a1f48 /scripts/generate_rust_analyzer.py | |
parent | net: usb: ax88179_178a: avoid failed operations when device is disconnected (diff) | |
download | linux-rng-c994cb596bf7ef5928f06331c76f46e071b16f09.tar.xz linux-rng-c994cb596bf7ef5928f06331c76f46e071b16f09.zip |
usb: typec: ucsi: fix gpio-based orientation detection
Fix the recently added connector sanity check which was off by one and
prevented orientation notifications from being handled correctly for the
second port when using GPIOs to determine orientation.
Fixes: c6165ed2f425 ("usb: ucsi: glink: use the connector orientation GPIO to provide switch events")
Cc: stable <stable@kernel.org>
Cc: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20231208123603.29957-1-johan+linaro@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions