kernel-hacking-2024-linux-s.../sound/pci/hda
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
..
ca0132_regs.h
hda_auto_parser.c ALSA: hda - Fix possible NULL dereference in snd_hda_get_pin_label() 2013-10-29 11:37:19 +01:00
hda_auto_parser.h
hda_beep.c ALSA: hda - Add a fallthru comment 2013-10-29 11:37:23 +01:00
hda_beep.h
hda_codec.c ALSA: hda - Fix unbalanced runtime PM notification at resume 2013-11-20 16:39:14 +01:00
hda_codec.h ALSA: hda - Drop bus->avoid_link_reset flag 2013-11-26 13:40:14 +01:00
hda_eld.c ALSA: hda - hdmi: Fix wrong baseline length in ATI/AMD generated ELD 2013-11-11 17:08:39 +01:00
hda_generic.c ALSA: hda - Create Headhpone Mic Jack Mode when really needed 2013-11-27 14:55:40 +01:00
hda_generic.h ALSA: hda - Introduce the bitmask for excluding output volume 2013-11-05 07:49:41 +01:00
hda_hwdep.c
hda_i915.c
hda_i915.h
hda_intel.c ALSA: hda - Drop bus->avoid_link_reset flag 2013-11-26 13:40:14 +01:00
hda_intel_trace.h
hda_jack.c ALSA: hda - Add a block_report flag to jacks 2013-11-07 14:03:17 +01:00
hda_jack.h ALSA: hda - Add a block_report flag to jacks 2013-11-07 14:03:17 +01:00
hda_local.h ALSA: hda - hdmi: Add ELD emulation for ATI/AMD codecs 2013-10-24 22:54:13 +02:00
hda_proc.c
hda_trace.h
Kconfig ALSA: hda - Select FW_LOADER from CONFIG_SND_HDA_CODEC_CA0132_DSP 2013-11-18 17:12:34 +01:00
Makefile
patch_analog.c ALSA: hda - Control EAPD for Master volume on Lenovo N100 2013-11-13 09:44:33 +01:00
patch_ca0110.c
patch_ca0132.c ALSA: hda/ca0132: Staticize codec_send_command 2013-09-13 14:36:32 +02:00
patch_cirrus.c ALSA: hda - Control SPDIF out pin on MacBookPro 11,2 2013-11-11 16:22:04 +01:00
patch_cmedia.c
patch_conexant.c ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec 2013-11-27 08:52:37 +01:00
patch_hdmi.c ALSA: hda - hdmi: Add error-checking to some codec reads 2013-11-11 17:07:49 +01:00
patch_realtek.c ALSA: hda/realtek - Set pcbeep amp for ALC668 2013-11-26 13:40:14 +01:00
patch_si3054.c
patch_sigmatel.c ALSA: hda - Drop bus->avoid_link_reset flag 2013-11-26 13:40:14 +01:00
patch_via.c