ASoC: Intel: sof_es8336: support a separate gpio to control headphone
authorMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 7 Apr 2022 18:49:57 +0000 (20:49 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 7 Apr 2022 19:26:52 +0000 (20:26 +0100)
commit6e1ff1459e0086312e61c2d1ff8b74395a082fcb
treec7c7cc040e6a0311a11e66ceed1d81c55b8f53a8
parent890a4087a6c2045911b5002566d1528f710cd723
ASoC: Intel: sof_es8336: support a separate gpio to control headphone

Some devices may use both gpio0 and gpio1 to independently switch
the speaker and the headphone.

Add support for that.

Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/535454c0c598a8454487fe29b164527370e2db81.1649357263.git.mchehab@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_es8336.c