linux/sound/soc/intel
Tagir Garaev ecb638fb9a ASoC: Intel: sof_es8336: fix headphone GPIO logic inversion
[ Upstream commit 213c4e5126 ]

The headphone GPIO should be set to the inverse of speaker_en.
When speakers are enabled, headphones should be disabled and vice versa.

Currently both GPIOs are set to the same value (speaker_en), causing
audio to play through both speakers and headphones simultaneously
when headphones are plugged in.

Tested on Huawei Matebook (BOD-WXX9) with ES8336 codec.

Fixes: 6e1ff1459e ("ASoC: Intel: sof_es8336: support a separate gpio to control headphone")
Signed-off-by: Tagir Garaev <tgaraev653@gmail.com>
Link: https://patch.msgid.link/20260121152435.101698-1-tgaraev653@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2026-02-06 16:57:34 +01:00
..
atom ASoC: Updates for v6.18 2025-09-20 08:38:17 +02:00
avs ASoC: Intel: avs: Use snd_codec format when initializing probe 2025-10-23 13:42:27 +01:00
boards ASoC: Intel: sof_es8336: fix headphone GPIO logic inversion 2026-02-06 16:57:34 +01:00
catpt ASoC: Intel: catpt: Fix error path in hw_params() 2025-12-18 14:03:24 +01:00
common ASoC: soc-acpi-intel-ptl-match: fix name_prefix of rt1320-2 2026-02-06 16:57:34 +01:00
keembay ASoC: Use of_property_present() for non-boolean properties 2025-01-09 18:50:14 +00:00
Kconfig ASoC: intel: Standardize ASoC menu 2025-06-24 01:01:26 +01:00
Makefile ASoC: Intel: Remove skylake driver 2024-08-19 13:10:55 +01:00