summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/freescale/pinctrl-imx27.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-08-24 00:35:36 +0200
committerChanwoo Choi <cw00.choi@samsung.com>2015-09-21 08:07:19 +0200
commitf4513b065f7dbd37224226ef6e44b09eff742776 (patch)
tree29e311e448ab030241f808fc4603fa32a41e84de /drivers/pinctrl/freescale/pinctrl-imx27.c
parentLinux 4.3-rc2 (diff)
downloadlinux-f4513b065f7dbd37224226ef6e44b09eff742776.tar.xz
linux-f4513b065f7dbd37224226ef6e44b09eff742776.zip
extcon: Fix attached value returned by is_extcon_changed
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>
Diffstat (limited to 'drivers/pinctrl/freescale/pinctrl-imx27.c')
0 files changed, 0 insertions, 0 deletions