linux/sound/soc/intel
Tagir Garaev dc142ac113 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:55:43 +01:00
..
atom ASoC: Intel: sst: Fix used of uninitialized ctx to log an error 2024-10-28 16:44:52 +00:00
avs ASoC: Intel: avs: Disable periods-elapsed work when closing PCM 2025-11-13 15:33:57 -05:00
boards ASoC: Intel: sof_es8336: fix headphone GPIO logic inversion 2026-02-06 16:55:43 +01:00
catpt ASoC: Intel: catpt: Fix error path in hw_params() 2025-12-18 13:55:10 +01:00
common ASoC: Intel: sof-function-topology-lib: Print out the unsupported dmic count 2025-07-17 18:37:15 +02:00
keembay ASoC: intel: fix module autoloading 2024-08-26 15:52:06 +01:00
Kconfig ASoC: Intel: Remove skylake driver 2024-08-19 13:10:55 +01:00
Makefile ASoC: Intel: Remove skylake driver 2024-08-19 13:10:55 +01:00