OSDN Git Service

ASoC: tegra: tegra_wm8903: Support nvidia, headset property
authorDmitry Osipenko <digetx@gmail.com>
Mon, 30 Mar 2020 20:40:11 +0000 (23:40 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 14 Apr 2020 13:51:13 +0000 (14:51 +0100)
commit3ef9d5073b552d56bd6daf2af1e89b7e8d4df183
tree26c1196a4da913ca86534a940ab4feeffceacdcb
parent8f3d9f354286745c751374f5f1fcafee6b3f3136
ASoC: tegra: tegra_wm8903: Support nvidia, headset property

The microphone-jack state needs to be masked in a case of a 4-pin jack
when microphone and ground pins are shorted. Presence of nvidia,headset
tells that WM8903 CODEC driver should mask microphone's status if short
circuit is detected, i.e headphones are inserted.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20200330204011.18465-3-digetx@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra_wm8903.c