linux_dsm_epyc7002/sound/pci
Takashi Iwai ced4cefc75 ALSA: hda - Create Headhpone Mic Jack Mode when really needed
When a headphone jack is configurable as input, the generic parser
tries to make it retaskable as Headphone Mic.  The switching can be
done smoothly if Capture Source control exists (i.e. there is another
input source).  Or when user explicitly enables the creation of jack
mode controls, "Headhpone Mic Jack Mode" will be created accordingly.

However, if the headphone mic is the only input source, we have to
create "Headphone Mic Jack Mode" control because there is no capture
source selection.  Otherwise, the generic parser assumes that the
input is constantly enabled, thus the headphone is permanently set
as input.  This situation happens on the old MacBook Airs where no
input is supported properly, for example.

This patch fixes the problem: now "Headphone Mic Jack Mode" is created
when such an input selection isn't possible.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=65681
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-11-27 14:55:40 +01:00
..
ac97 ALSA: ac97: Add ID for TI TLV320AIC27 codec 2013-09-30 11:09:21 +02:00
ali5451 ALSA: ali5451: Drop unused variable 2013-10-29 15:42:29 +01:00
asihpi ALSA: asihpi: a couple array out of bounds issues 2013-09-13 14:31:51 +02:00
au88x0 sound: Remove unnecessary semicolons 2013-10-14 11:00:05 +02:00
aw2
ca0106
cs46xx
cs5535audio ALSA: Use strlcpy() instead of strncpy() 2013-10-29 15:26:12 +01:00
ctxfi ALSA: ctxfi: Use WARN_ON() instead of BUG_ON() 2013-11-06 08:34:49 +01:00
echoaudio
emu10k1 ALSA: emu10k1: code refactoring 2013-10-18 08:58:24 +02:00
hda ALSA: hda - Create Headhpone Mic Jack Mode when really needed 2013-11-27 14:55:40 +01:00
ice1712 ALSA: ice1724: Fix compile warning with CONFIG_PROC_FS=n 2013-11-07 15:44:11 +01:00
korg1212
lola ALSA: lola: Fix uninitialized variable access in error message 2013-10-29 16:51:36 +01:00
lx6464es ALSA: lx6464es: Fix pointer cast compile warnings 2013-11-06 18:00:29 +01:00
mixart
nm256
oxygen
pcxhr
riptide
rme9652 ALSA: Use strlcpy() instead of strncpy() 2013-10-29 15:26:12 +01:00
trident
vx222
ymfpci
ad1889.c ALSA: ad1889: Fix right attenuation proc output 2013-10-29 15:39:37 +01:00
ad1889.h
ak4531_codec.c
als300.c
als4000.c
atiixp_modem.c
atiixp.c
azt3328.c ALSA: Fix assignment of 0/1 to bool variables 2013-09-26 09:57:24 +02:00
azt3328.h
bt87x.c
cmipci.c
cs4281.c
cs5530.c
ens1370.c
ens1371.c
es1938.c
es1968.c
fm801.c
intel8x0.c ALSA: intel8x0: Fix chmap application 2013-11-06 08:14:21 +01:00
intel8x0m.c
Kconfig
maestro3.c
Makefile
rme32.c
rme96.c ALSA: rme96: Return error code in PCM copy ops 2013-10-29 16:04:37 +01:00
sis7019.c
sis7019.h
sonicvibes.c
via82xx_modem.c
via82xx.c