mirror of
https://github.com/torvalds/linux.git
synced 2025-11-06 11:39:24 +02:00
is_extcon_changed should only check the idx-th bit of new, not the entirety of new when setting attached. This fixes extcon sending notifications that a cable was inserted when it gets removed while another cable is still connected. Cc: stable@vger.kernel.org Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> |
||
|---|---|---|
| .. | ||
| extcon-adc-jack.c | ||
| extcon-arizona.c | ||
| extcon-axp288.c | ||
| extcon-gpio.c | ||
| extcon-max8997.c | ||
| extcon-max14577.c | ||
| extcon-max77693.c | ||
| extcon-max77843.c | ||
| extcon-palmas.c | ||
| extcon-rt8973a.c | ||
| extcon-rt8973a.h | ||
| extcon-sm5502.c | ||
| extcon-sm5502.h | ||
| extcon-usb-gpio.c | ||
| extcon.c | ||
| Kconfig | ||
| Makefile | ||