linux/sound/pci/hda
Richard Fitzgerald 21484e43b9 ALSA: hda: cs35l56: Fix missing RESET GPIO if _SUB is missing
In cs35l56_hda_read_acpi() do not return if ACPI _SUB is missing.

A missing _SUB means that the driver cannot load a system-specific
firmware, because the firmware is identified by the _SUB. But it can
fallback to a generic firmware. Unfortunately this was being handled
by immediately returning 0, which would skip the remaining ACPI
configuration in cs35l56_hda_read_acpi() and so it would not get the
RESET GPIO.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Fixes: 73cfbfa9ca ("ALSA: hda/cs35l56: Add driver for Cirrus Logic CS35L56 amplifier")
Link: https://lore.kernel.org/r/20230914152525.20829-1-rf@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2023-09-15 10:31:04 +02:00
..
ca0132_regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 32 2019-05-24 17:27:10 +02:00
cs35l41_hda_i2c.c ALSA: Switch i2c drivers back to use .probe() 2023-06-05 09:22:45 +02:00
cs35l41_hda_property.c ALSA: hda: cs35l41: Override the _DSD for HP Zbook Fury 17 G9 to correct boost type 2023-08-24 09:53:12 +02:00
cs35l41_hda_property.h ALSA: hda: cs35l41: Support systems with missing _DSD properties 2023-08-15 20:51:19 +02:00
cs35l41_hda_spi.c ALSA: hda: cs35l41: Replace all spi->chip_select references with function call 2023-03-11 12:34:08 +00:00
cs35l41_hda.c ALSA: hda: cs35l41: Support systems with missing _DSD properties 2023-08-15 20:51:19 +02:00
cs35l41_hda.h ALSA: hda: cs35l41: Support systems with missing _DSD properties 2023-08-15 20:51:19 +02:00
cs35l56_hda_i2c.c ALSA: hda: cs35l56: Disable low-power hibernation mode 2023-09-13 09:42:33 +02:00
cs35l56_hda_spi.c ALSA: hda/cs35l56: Add driver for Cirrus Logic CS35L56 amplifier 2023-07-23 23:40:23 +01:00
cs35l56_hda.c ALSA: hda: cs35l56: Fix missing RESET GPIO if _SUB is missing 2023-09-15 10:31:04 +02:00
cs35l56_hda.h ALSA: hda/cs35l56: Add driver for Cirrus Logic CS35L56 amplifier 2023-07-23 23:40:23 +01:00
hda_auto_parser.c ALSA: hda/realtek: Apply fixup for Lenovo Yoga Duet 7 properly 2022-06-15 07:28:51 +02:00
hda_auto_parser.h ALSA: hda: Fix missing header dependencies 2023-07-23 23:40:22 +01:00
hda_beep.c ALSA: hda: beep: Simplify keep-power-at-enable behavior 2022-09-06 11:24:02 +02:00
hda_beep.h ALSA: hda: beep: Simplify keep-power-at-enable behavior 2022-09-06 11:24:02 +02:00
hda_bind.c ASoC: do not include pm_runtime.h if not used 2023-05-23 13:55:55 +01:00
hda_codec.c ALSA: control: Take controls_rwsem lock in snd_ctl_remove() 2023-07-20 10:01:27 +02:00
hda_component.h ALSA: hda: hda_component: Add pre and post playback hooks to hda_component 2023-07-24 11:00:02 +02:00
hda_controller_trace.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hda_controller.c ALSA: hda: remove redundant variable in snd_hdac_stream_start() 2023-02-10 10:06:50 +01:00
hda_controller.h ALSA: hda: Fix the control element identification for multiple codecs 2023-02-03 17:19:20 +01:00
hda_cs_dsp_ctl.c ALSA: hda: cs35l41: Correct error condition handling 2023-02-14 15:06:13 +01:00
hda_cs_dsp_ctl.h ALSA: hda/cs_dsp_ctl: Fix mutex inversion when creating controls 2022-10-12 08:02:47 +02:00
hda_eld.c ALSA: hda/hdmi: ELD procfs - print the codec NIDs 2022-09-21 12:12:29 +02:00
hda_generic.c ALSA: hda: Fix Oops by 9.1 surround channel names 2023-05-16 20:44:46 +02:00
hda_generic.h ALSA: hda: Fix missing header dependencies 2023-07-23 23:40:22 +01:00
hda_hwdep.c ALSA: hwdep: Don't embed device 2023-08-17 09:24:01 +02:00
hda_intel_trace.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hda_intel.c ALSA: hda: Disable power save for solving pop issue on Lenovo ThinkCentre M70q 2023-09-15 10:29:33 +02:00
hda_intel.h ALSA: hda: intel: Allow repeatedly probing on codec configuration errors 2021-10-07 09:15:22 +02:00
hda_jack.c ALSA: hda: Do disconnect jacks at codec unbind 2021-11-17 14:41:16 +01:00
hda_jack.h ALSA: hda: Do disconnect jacks at codec unbind 2021-11-17 14:41:16 +01:00
hda_local.h ALSA: hda/hdmi: ELD procfs - print the codec NIDs 2022-09-21 12:12:29 +02:00
hda_proc.c ALSA: hda/proc - print DP-MST connections 2020-12-08 20:04:33 +01:00
hda_sysfs.c ALSA: hda: Remove unused MAX_PIN_CONFIGS constant 2022-08-19 11:29:13 +02:00
hda_tegra.c ALSA: hda/tegra: refactor deprecated strncpy 2023-08-08 14:46:11 +02:00
hp_x360_helper.c ALSA: hda/realtek - Fixup for HP x360 laptops with B&O speakers 2018-05-29 22:33:37 +02:00
ideapad_s740_helper.c ALSA: hda/realtek: Add quirk for Lenovo Ideapad S740 2021-04-16 10:12:50 +02:00
Kconfig ALSA: hda: Add missing dependency on CONFIG_EFI for Cirrus/TI sub-codecs 2023-08-25 11:28:45 +02:00
Makefile ALSA: hda/tas2781: Add tas2781 HDA driver 2023-08-18 12:14:43 +02:00
patch_analog.c ALSA: hda/analog - Sink ad198x_shutup() and shuffle CONFIG_PM guards 2021-08-18 07:51:09 +02:00
patch_ca0110.c ALSA: hda: Unify get_response handling 2019-12-13 14:36:52 +01:00
patch_ca0132.c ALSA: hda/ca0132: add quirk for EVGA X299 DARK 2023-05-22 08:26:01 +02:00
patch_cirrus.c ALSA: hda/cirrus - support for iMac 12,1 model 2022-08-11 07:41:43 +02:00
patch_cmedia.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 32 2019-05-24 17:27:10 +02:00
patch_conexant.c ALSA: hda/conexant: Partial revert of a quirk for Lenovo 2023-03-21 07:09:21 +01:00
patch_cs8409-tables.c ALSA: hda/cs8409: Support new Dell Dolphin Variants 2023-08-11 16:45:52 +02:00
patch_cs8409.c ALSA: hda/cirrus: Fix broken audio on hardware with two CS42L42 codecs. 2023-09-04 18:09:24 +02:00
patch_cs8409.h ALSA: hda/cirrus: Fix broken audio on hardware with two CS42L42 codecs. 2023-09-04 18:09:24 +02:00
patch_hdmi.c ALSA: hda: add HDMI codec ID for Intel LNL 2023-07-21 16:47:11 +02:00
patch_realtek.c ALSA: hda/realtek: Splitting the UX3402 into two separate models 2023-09-13 09:45:11 +02:00
patch_si3054.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 32 2019-05-24 17:27:10 +02:00
patch_sigmatel.c ALSA: hda/sigmatel: fix S/PDIF out on Intel D*45* motherboards 2023-04-06 08:10:35 +02:00
patch_via.c ALSA: hda/via: Avoid potential array out-of-bound in add_secret_dac_path() 2023-01-19 11:29:16 +01:00
tas2781_hda_i2c.c ALSA: hda/tas2781: Use standard clamp() macro 2023-08-31 14:36:46 +02:00
thinkpad_helper.c ALSA: HDA - remove the custom implementation for the audio LED trigger 2021-03-30 15:35:15 +02:00