diff options
| author | Hans de Goede <[email protected]> | 2015-08-23 22:35:36 +0000 |
|---|---|---|
| committer | Chanwoo Choi <[email protected]> | 2015-09-21 06:07:19 +0000 |
| commit | f4513b065f7dbd37224226ef6e44b09eff742776 (patch) | |
| tree | 29e311e448ab030241f808fc4603fa32a41e84de /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | |
| parent | Linux 4.3-rc2 (diff) | |
| download | kernel-f4513b065f7dbd37224226ef6e44b09eff742776.tar.gz kernel-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: [email protected]
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions
