ALSA: ens1371: Fix "Line In->Rear Out Switch" control
authorTakashi Iwai <tiwai@suse.de>
Tue, 19 Apr 2016 13:28:39 +0000 (15:28 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 19 Apr 2016 13:28:39 +0000 (15:28 +0200)
commitd23f0517357ef48d2845846e899d125b3c1a492e
tree01eed8c4811379bba6d12e09afc7203ce7c69473
parenta19c921fca0a865b657d59b2c9a05aa0a2905126
ALSA: ens1371: Fix "Line In->Rear Out Switch" control

The "Line In->Rear Out Switch" control on ens1371 driver returns a
bogus value, always true, as its check is totally broken.  Fix it to
check the proper GPIO bit mask.

Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ens1370.c