android_kernel_oneplus_msm8998/sound/pci/hda
Hui Wang c70e2006d0 ALSA: hda - set input_path bitmap to zero after moving it to new place
commit a8f20fd25bdce81a8e41767c39f456d346b63427 upstream.

Recently we met a problem, the codec has valid adcs and input pins,
and they can form valid input paths, but the driver does not build
valid controls for them like "Mic boost", "Capture Volume" and
"Capture Switch".

Through debugging, I found the driver needs to shrink the invalid
adcs and input paths for this machine, so it will move the whole
column bitmap value to the previous column, after moving it, the
driver forgets to set the original column bitmap value to zero, as a
result, the driver will invalidate the path whose index value is the
original colume bitmap value. After executing this function, all
valid input paths are invalidated by a mistake, there are no any
valid input paths, so the driver won't build controls for them.

Fixes: 3a65bcdc57 ("ALSA: hda - Fix inconsistent input_paths after ADC reduction")
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-07-05 14:37:15 +02:00
..
ca0132_regs.h
dell_wmi_helper.c ALSA: hda - Fix a failure of micmute led when having multi adcs 2016-10-28 03:01:30 -04:00
hda_auto_parser.c ALSA: hda: when comparing pin configurations, ignore assoc in addition to seq 2017-01-06 11:16:09 +01:00
hda_auto_parser.h
hda_beep.c ALSA: hda-beep: Update authors dead email address 2015-06-13 09:13:26 +02:00
hda_beep.h ALSA: hda-beep: Update authors dead email address 2015-06-20 09:24:40 +02:00
hda_bind.c ALSA: hda - Fix missing module loading with model=generic option 2016-01-31 11:28:57 -08:00
hda_codec.c ASoC: Updates for v4.4 2015-10-26 12:14:49 +01:00
hda_codec.h ALSA: hda - Fix endless loop of codec configure 2017-07-05 14:37:15 +02:00
hda_controller.c ALSA: hda - Fix endless loop of codec configure 2017-07-05 14:37:15 +02:00
hda_controller.h ALSA: hda - Raise AZX_DCAPS_RIRB_DELAY handling into top drivers 2016-11-10 16:36:32 +01:00
hda_controller_trace.h ALSA: hda - rename hda_intel_trace.h to hda_controller_trace.h 2015-05-18 10:06:32 +02:00
hda_eld.c ALSA: hda/eld - Add const to possible places 2015-08-17 15:12:14 +02:00
hda_generic.c ALSA: hda - set input_path bitmap to zero after moving it to new place 2017-07-05 14:37:15 +02:00
hda_generic.h
hda_hwdep.c
hda_intel.c ALSA: hda - Fix deadlock of controller device lock at unbinding 2017-05-14 13:32:58 +02:00
hda_intel.h ALSA: hda - Spell vga_switcheroo consistently 2015-10-19 11:00:45 +02:00
hda_intel_trace.h ALSA: hda - add hda_intel_trace.h 2015-05-18 10:06:44 +02:00
hda_jack.c ALSA: hda - Fix bad dereference of jack object 2016-02-17 12:31:00 -08:00
hda_jack.h ALSA: hda - Fix bad dereference of jack object 2016-02-17 12:31:00 -08:00
hda_local.h ALSA: hda: make use of core codec fns 2015-10-08 19:09:36 +02:00
hda_proc.c ALSA: hda/proc - Fix racy string access for power states 2015-08-17 15:12:04 +02:00
hda_sysfs.c ALSA: hda - Fix broken reconfig 2016-05-18 17:06:46 -07:00
hda_tegra.c ALSA: hda - Raise AZX_DCAPS_RIRB_DELAY handling into top drivers 2016-11-10 16:36:32 +01:00
Kconfig ALSA: HDAC: move SND_HDA_PREALLOC_SIZE to core 2015-06-16 17:40:38 +02:00
local.h
Makefile ALSA: replace CONFIG_PROC_FS with CONFIG_SND_PROC_FS 2015-05-27 21:25:19 +02:00
patch_analog.c ALSA: hda - convert to hda_device_id 2015-10-20 10:15:20 +02:00
patch_ca0110.c ALSA: hda - convert to hda_device_id 2015-10-20 10:15:20 +02:00
patch_ca0132.c ALSA: hda/ca0132 - Add quirk for Alienware 15 R2 2016 2017-01-06 11:16:08 +01:00
patch_cirrus.c ALSA: hda - Keep powering up ADCs on Cirrus codecs 2016-05-04 14:48:42 -07:00
patch_cmedia.c ALSA: hda - convert to hda_device_id 2015-10-20 10:15:20 +02:00
patch_conexant.c ALSA: hda - Gate the mic jack on HP Z1 Gen3 AiO 2017-01-06 11:16:09 +01:00
patch_hdmi.c ALSA: hda - add codec support for Kabylake display audio codec 2016-09-15 08:27:45 +02:00
patch_realtek.c ALSA: hda - fix a problem for lineout on a Dell AIO machine 2017-04-08 09:53:31 +02:00
patch_si3054.c ALSA: hda - convert to hda_device_id 2015-10-20 10:15:20 +02:00
patch_sigmatel.c ALSA: hda - apply STAC_9200_DELL_M22 quirk for Dell Latitude D430 2017-06-07 12:06:01 +02:00
patch_via.c ALSA: hda - convert to hda_device_id 2015-10-20 10:15:20 +02:00
thinkpad_helper.c ALSA: hda - Fix a failure of micmute led when having multi adcs 2016-10-28 03:01:30 -04:00