ASoC: tegra: Support coupled mic-hp detection
authorSvyatoslav Ryhel <clamor95@gmail.com>
Wed, 8 Mar 2023 07:34:56 +0000 (09:34 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 20 Mar 2023 13:06:39 +0000 (13:06 +0000)
commiteb0b8481c2e03a5ae01f6bea60b42109bd12b6fe
tree7e12bfb839510bd591292c9fe1bbe64449ec5b09
parente32acf7b00ba0893532d44f3dba34bb1efeafeb3
ASoC: tegra: Support coupled mic-hp detection

This quirk is used for cases when there is GPIO which detects
any type of 3.5 Jack insertion and actual type of jack is defined
by other GPIO. 3.5 Jack GPIO generates interrupt and MIC GPIO
indicates type of Jack only if 3.5 Jack GPIO is active.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Link: https://lore.kernel.org/r/20230308073502.5421-3-clamor95@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra_asoc_machine.c