Re: [PATCH 4.19 003/206] ASoC: tegra: tegra_wm8903: Support nvidia, headset property

From: Pavel Machek
Date: Thu Jun 25 2020 - 15:01:24 EST


Hi!

> [ Upstream commit 3ef9d5073b552d56bd6daf2af1e89b7e8d4df183 ]
>
> 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.

> + if (of_property_read_bool(card->dev->of_node, "nvidia,headset"))
> + shrt = SND_JACK_MICROPHONE;
> +

This property is not properly documented, not it is used anywhere.

Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: PGP signature