linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/2] Support headset on Tegra boards that use WM8903
@ 2020-03-30 20:40 Dmitry Osipenko
  2020-03-30 20:40 ` [PATCH v1 1/2] dt-bindings: sound: tegra-wm8903: Document new nvidia,headset property Dmitry Osipenko
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Dmitry Osipenko @ 2020-03-30 20:40 UTC (permalink / raw)
  To: Rob Herring, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Liam Girdwood, Stephen Warren, Jonathan Hunter
  Cc: devicetree, linux-tegra, alsa-devel, linux-kernel

Hello,

Some devices have a 4-pin jack instead of a 3-pin and currently the
WM8903 configuration is hardcoded to the case of 3-pin jack in the
Tegra's ASoC driver. A new device-tree property is required in order
to convey that hardware has a 4-pin jack, and thus, microphone's
detection needs to be done in a different way.

In particular this is needed for Acer A500 tablet device that has
a 4-pin headset jack, otherwise userspace sees headset instead of
headphones and internal microphone isn't enabled by ALSA UCM rule
when it should be. Please review and apply, thanks in advance.

Dmitry Osipenko (2):
  dt-bindings: sound: tegra-wm8903: Document new nvidia,headset property
  ASoC: tegra: tegra_wm8903: Support nvidia,headset property

 .../devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt | 1 +
 sound/soc/tegra/tegra_wm8903.c                              | 6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH v1 1/2] dt-bindings: sound: tegra-wm8903: Document new nvidia,headset property
  2020-03-30 20:40 [PATCH v1 0/2] Support headset on Tegra boards that use WM8903 Dmitry Osipenko
@ 2020-03-30 20:40 ` Dmitry Osipenko
  2020-04-10 17:44   ` Rob Herring
  2020-04-14 14:47   ` Applied "ASoC: tegra-wm8903: Document new nvidia, headset property" to the asoc tree Mark Brown
  2020-03-30 20:40 ` [PATCH v1 2/2] ASoC: tegra: tegra_wm8903: Support nvidia,headset property Dmitry Osipenko
  2020-04-09 14:52 ` [PATCH v1 0/2] Support headset on Tegra boards that use WM8903 Dmitry Osipenko
  2 siblings, 2 replies; 11+ messages in thread
From: Dmitry Osipenko @ 2020-03-30 20:40 UTC (permalink / raw)
  To: Rob Herring, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Liam Girdwood, Stephen Warren, Jonathan Hunter
  Cc: devicetree, linux-tegra, alsa-devel, linux-kernel

Some devices have a 4-pin headset jack instead of 3-pin microphone jack.
The new boolean nvidia,headset property tells that the Mic Jack represents
the state of a headset microphone. This additional hardware description is
needed because microphone detection procedure differs in a case of a 4-pin
jack from a 3-pin jack.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
---
 .../devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt      | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt
index a8f2b0c56c79..bbd581a8c5bc 100644
--- a/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt
+++ b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt
@@ -29,6 +29,7 @@ Optional properties:
 - nvidia,hp-det-gpios : The GPIO that detect headphones are plugged in
 - nvidia,int-mic-en-gpios : The GPIO that enables the internal microphone
 - nvidia,ext-mic-en-gpios : The GPIO that enables the external microphone
+- nvidia,headset : The Mic Jack represents state of the headset microphone pin
 
 Example:
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH v1 2/2] ASoC: tegra: tegra_wm8903: Support nvidia,headset property
  2020-03-30 20:40 [PATCH v1 0/2] Support headset on Tegra boards that use WM8903 Dmitry Osipenko
  2020-03-30 20:40 ` [PATCH v1 1/2] dt-bindings: sound: tegra-wm8903: Document new nvidia,headset property Dmitry Osipenko
@ 2020-03-30 20:40 ` Dmitry Osipenko
  2020-04-14 14:47   ` Applied "ASoC: tegra: tegra_wm8903: Support nvidia, headset property" to the asoc tree Mark Brown
  2020-04-09 14:52 ` [PATCH v1 0/2] Support headset on Tegra boards that use WM8903 Dmitry Osipenko
  2 siblings, 1 reply; 11+ messages in thread
From: Dmitry Osipenko @ 2020-03-30 20:40 UTC (permalink / raw)
  To: Rob Herring, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Liam Girdwood, Stephen Warren, Jonathan Hunter
  Cc: devicetree, linux-tegra, alsa-devel, linux-kernel

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>
---
 sound/soc/tegra/tegra_wm8903.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sound/soc/tegra/tegra_wm8903.c b/sound/soc/tegra/tegra_wm8903.c
index 071c7d2de77c..e756dc8eeca4 100644
--- a/sound/soc/tegra/tegra_wm8903.c
+++ b/sound/soc/tegra/tegra_wm8903.c
@@ -177,6 +177,7 @@ static int tegra_wm8903_init(struct snd_soc_pcm_runtime *rtd)
 	struct snd_soc_component *component = codec_dai->component;
 	struct snd_soc_card *card = rtd->card;
 	struct tegra_wm8903 *machine = snd_soc_card_get_drvdata(card);
+	int shrt = 0;
 
 	if (gpio_is_valid(machine->gpio_hp_det)) {
 		tegra_wm8903_hp_jack_gpio.gpio = machine->gpio_hp_det;
@@ -189,12 +190,15 @@ static int tegra_wm8903_init(struct snd_soc_pcm_runtime *rtd)
 					&tegra_wm8903_hp_jack_gpio);
 	}
 
+	if (of_property_read_bool(card->dev->of_node, "nvidia,headset"))
+		shrt = SND_JACK_MICROPHONE;
+
 	snd_soc_card_jack_new(rtd->card, "Mic Jack", SND_JACK_MICROPHONE,
 			      &tegra_wm8903_mic_jack,
 			      tegra_wm8903_mic_jack_pins,
 			      ARRAY_SIZE(tegra_wm8903_mic_jack_pins));
 	wm8903_mic_detect(component, &tegra_wm8903_mic_jack, SND_JACK_MICROPHONE,
-				0);
+				shrt);
 
 	snd_soc_dapm_force_enable_pin(&card->dapm, "MICBIAS");
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH v1 0/2] Support headset on Tegra boards that use WM8903
  2020-03-30 20:40 [PATCH v1 0/2] Support headset on Tegra boards that use WM8903 Dmitry Osipenko
  2020-03-30 20:40 ` [PATCH v1 1/2] dt-bindings: sound: tegra-wm8903: Document new nvidia,headset property Dmitry Osipenko
  2020-03-30 20:40 ` [PATCH v1 2/2] ASoC: tegra: tegra_wm8903: Support nvidia,headset property Dmitry Osipenko
@ 2020-04-09 14:52 ` Dmitry Osipenko
  2020-04-09 16:54   ` Stephen Warren
  2 siblings, 1 reply; 11+ messages in thread
From: Dmitry Osipenko @ 2020-04-09 14:52 UTC (permalink / raw)
  To: Rob Herring, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Liam Girdwood, Stephen Warren, Jonathan Hunter
  Cc: devicetree, linux-tegra, alsa-devel, linux-kernel

30.03.2020 23:40, Dmitry Osipenko пишет:
> Hello,
> 
> Some devices have a 4-pin jack instead of a 3-pin and currently the
> WM8903 configuration is hardcoded to the case of 3-pin jack in the
> Tegra's ASoC driver. A new device-tree property is required in order
> to convey that hardware has a 4-pin jack, and thus, microphone's
> detection needs to be done in a different way.
> 
> In particular this is needed for Acer A500 tablet device that has
> a 4-pin headset jack, otherwise userspace sees headset instead of
> headphones and internal microphone isn't enabled by ALSA UCM rule
> when it should be. Please review and apply, thanks in advance.
> 
> Dmitry Osipenko (2):
>   dt-bindings: sound: tegra-wm8903: Document new nvidia,headset property
>   ASoC: tegra: tegra_wm8903: Support nvidia,headset property
> 
>  .../devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt | 1 +
>  sound/soc/tegra/tegra_wm8903.c                              | 6 +++++-
>  2 files changed, 6 insertions(+), 1 deletion(-)
> 

Jon / Stephen, are you okay with this patchset? Could you please ack it?
Thanks in advance.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v1 0/2] Support headset on Tegra boards that use WM8903
  2020-04-09 14:52 ` [PATCH v1 0/2] Support headset on Tegra boards that use WM8903 Dmitry Osipenko
@ 2020-04-09 16:54   ` Stephen Warren
  2020-04-09 17:13     ` Dmitry Osipenko
  0 siblings, 1 reply; 11+ messages in thread
From: Stephen Warren @ 2020-04-09 16:54 UTC (permalink / raw)
  To: Dmitry Osipenko, Rob Herring, Mark Brown, Jaroslav Kysela,
	Takashi Iwai, Liam Girdwood, Jonathan Hunter
  Cc: devicetree, linux-tegra, alsa-devel, linux-kernel

On 4/9/20 8:52 AM, Dmitry Osipenko wrote:
> 30.03.2020 23:40, Dmitry Osipenko пишет:
>> Hello,
>>
>> Some devices have a 4-pin jack instead of a 3-pin and currently the
>> WM8903 configuration is hardcoded to the case of 3-pin jack in the
>> Tegra's ASoC driver. A new device-tree property is required in order
>> to convey that hardware has a 4-pin jack, and thus, microphone's
>> detection needs to be done in a different way.
>>
>> In particular this is needed for Acer A500 tablet device that has
>> a 4-pin headset jack, otherwise userspace sees headset instead of
>> headphones and internal microphone isn't enabled by ALSA UCM rule
>> when it should be. Please review and apply, thanks in advance.
>>
>> Dmitry Osipenko (2):
>>   dt-bindings: sound: tegra-wm8903: Document new nvidia,headset property
>>   ASoC: tegra: tegra_wm8903: Support nvidia,headset property
>>
>>  .../devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt | 1 +
>>  sound/soc/tegra/tegra_wm8903.c                              | 6 +++++-
>>  2 files changed, 6 insertions(+), 1 deletion(-)
>>
> 
> Jon / Stephen, are you okay with this patchset? Could you please ack it?
> Thanks in advance.

It looks plausible based on commit descriptions, but I don't remember
the details of those APIs well enough to actually review the code change.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v1 0/2] Support headset on Tegra boards that use WM8903
  2020-04-09 16:54   ` Stephen Warren
@ 2020-04-09 17:13     ` Dmitry Osipenko
  2020-04-09 17:29       ` Mark Brown
  0 siblings, 1 reply; 11+ messages in thread
From: Dmitry Osipenko @ 2020-04-09 17:13 UTC (permalink / raw)
  To: Stephen Warren, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Liam Girdwood, Jonathan Hunter
  Cc: Rob Herring, devicetree, linux-tegra, alsa-devel, linux-kernel

09.04.2020 19:54, Stephen Warren пишет:
...
>> Jon / Stephen, are you okay with this patchset? Could you please ack it?
>> Thanks in advance.
> 
> It looks plausible based on commit descriptions, but I don't remember
> the details of those APIs well enough to actually review the code change.
> 

The code change doesn't affect any of the old users, so it should be
safe anyways.

I understand that you don't feel comfortable to give an ACK if you're
unsure, but I assume that Jon is in the same position, and thus, I'm not
sure how to move forward.

Mark, could you please help with reviewing this series?

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v1 0/2] Support headset on Tegra boards that use WM8903
  2020-04-09 17:13     ` Dmitry Osipenko
@ 2020-04-09 17:29       ` Mark Brown
  2020-04-09 17:33         ` Dmitry Osipenko
  0 siblings, 1 reply; 11+ messages in thread
From: Mark Brown @ 2020-04-09 17:29 UTC (permalink / raw)
  To: Dmitry Osipenko
  Cc: Stephen Warren, Jaroslav Kysela, Takashi Iwai, Liam Girdwood,
	Jonathan Hunter, Rob Herring, devicetree, linux-tegra,
	alsa-devel, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 536 bytes --]

On Thu, Apr 09, 2020 at 08:13:54PM +0300, Dmitry Osipenko wrote:

> The code change doesn't affect any of the old users, so it should be
> safe anyways.

> I understand that you don't feel comfortable to give an ACK if you're
> unsure, but I assume that Jon is in the same position, and thus, I'm not
> sure how to move forward.

> Mark, could you please help with reviewing this series?

It is currently the merge window.  Nothing other than bug fixes is going
to get applied until the merge window is over, probably Sunday or Monday.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v1 0/2] Support headset on Tegra boards that use WM8903
  2020-04-09 17:29       ` Mark Brown
@ 2020-04-09 17:33         ` Dmitry Osipenko
  0 siblings, 0 replies; 11+ messages in thread
From: Dmitry Osipenko @ 2020-04-09 17:33 UTC (permalink / raw)
  To: Mark Brown
  Cc: Stephen Warren, Jaroslav Kysela, Takashi Iwai, Liam Girdwood,
	Jonathan Hunter, Rob Herring, devicetree, linux-tegra,
	alsa-devel, linux-kernel

09.04.2020 20:29, Mark Brown пишет:
> On Thu, Apr 09, 2020 at 08:13:54PM +0300, Dmitry Osipenko wrote:
> 
>> The code change doesn't affect any of the old users, so it should be
>> safe anyways.
> 
>> I understand that you don't feel comfortable to give an ACK if you're
>> unsure, but I assume that Jon is in the same position, and thus, I'm not
>> sure how to move forward.
> 
>> Mark, could you please help with reviewing this series?
> 
> It is currently the merge window.  Nothing other than bug fixes is going
> to get applied until the merge window is over, probably Sunday or Monday.
> 

Will be awesome, thank you :)

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v1 1/2] dt-bindings: sound: tegra-wm8903: Document new nvidia,headset property
  2020-03-30 20:40 ` [PATCH v1 1/2] dt-bindings: sound: tegra-wm8903: Document new nvidia,headset property Dmitry Osipenko
@ 2020-04-10 17:44   ` Rob Herring
  2020-04-14 14:47   ` Applied "ASoC: tegra-wm8903: Document new nvidia, headset property" to the asoc tree Mark Brown
  1 sibling, 0 replies; 11+ messages in thread
From: Rob Herring @ 2020-04-10 17:44 UTC (permalink / raw)
  To: Dmitry Osipenko
  Cc: Jaroslav Kysela, Takashi Iwai, Liam Girdwood, Stephen Warren,
	Jonathan Hunter, devicetree, linux-tegra, alsa-devel,
	linux-kernel

On Mon, 30 Mar 2020 23:40:10 +0300, Dmitry Osipenko wrote:
> Some devices have a 4-pin headset jack instead of 3-pin microphone jack.
> The new boolean nvidia,headset property tells that the Mic Jack represents
> the state of a headset microphone. This additional hardware description is
> needed because microphone detection procedure differs in a case of a 4-pin
> jack from a 3-pin jack.
> 
> Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
> ---
>  .../devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt      | 1 +
>  1 file changed, 1 insertion(+)
> 

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Applied "ASoC: tegra-wm8903: Document new nvidia, headset property" to the asoc tree
  2020-03-30 20:40 ` [PATCH v1 1/2] dt-bindings: sound: tegra-wm8903: Document new nvidia,headset property Dmitry Osipenko
  2020-04-10 17:44   ` Rob Herring
@ 2020-04-14 14:47   ` Mark Brown
  1 sibling, 0 replies; 11+ messages in thread
From: Mark Brown @ 2020-04-14 14:47 UTC (permalink / raw)
  To: Dmitry Osipenko
  Cc: alsa-devel, devicetree, Jaroslav Kysela, Jonathan Hunter,
	Liam Girdwood, linux-kernel, linux-tegra, Mark Brown,
	Rob Herring, Stephen Warren, Takashi Iwai

The patch

   ASoC: tegra-wm8903: Document new nvidia, headset property

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git 

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 8240fe6c91b884b5f1f861a8c22721d6ea4c53c9 Mon Sep 17 00:00:00 2001
From: Dmitry Osipenko <digetx@gmail.com>
Date: Mon, 30 Mar 2020 23:40:10 +0300
Subject: [PATCH] ASoC: tegra-wm8903: Document new nvidia, headset property

Some devices have a 4-pin headset jack instead of 3-pin microphone jack.
The new boolean nvidia,headset property tells that the Mic Jack represents
the state of a headset microphone. This additional hardware description is
needed because microphone detection procedure differs in a case of a 4-pin
jack from a 3-pin jack.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20200330204011.18465-2-digetx@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 .../devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt      | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt
index a8f2b0c56c79..bbd581a8c5bc 100644
--- a/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt
+++ b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt
@@ -29,6 +29,7 @@ Optional properties:
 - nvidia,hp-det-gpios : The GPIO that detect headphones are plugged in
 - nvidia,int-mic-en-gpios : The GPIO that enables the internal microphone
 - nvidia,ext-mic-en-gpios : The GPIO that enables the external microphone
+- nvidia,headset : The Mic Jack represents state of the headset microphone pin
 
 Example:
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Applied "ASoC: tegra: tegra_wm8903: Support nvidia, headset property" to the asoc tree
  2020-03-30 20:40 ` [PATCH v1 2/2] ASoC: tegra: tegra_wm8903: Support nvidia,headset property Dmitry Osipenko
@ 2020-04-14 14:47   ` Mark Brown
  0 siblings, 0 replies; 11+ messages in thread
From: Mark Brown @ 2020-04-14 14:47 UTC (permalink / raw)
  To: Dmitry Osipenko
  Cc: alsa-devel, devicetree, Jaroslav Kysela, Jonathan Hunter,
	Liam Girdwood, linux-kernel, linux-tegra, Mark Brown,
	Rob Herring, Stephen Warren, Takashi Iwai

The patch

   ASoC: tegra: tegra_wm8903: Support nvidia, headset property

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git 

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 3ef9d5073b552d56bd6daf2af1e89b7e8d4df183 Mon Sep 17 00:00:00 2001
From: Dmitry Osipenko <digetx@gmail.com>
Date: Mon, 30 Mar 2020 23:40:11 +0300
Subject: [PATCH] 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 | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sound/soc/tegra/tegra_wm8903.c b/sound/soc/tegra/tegra_wm8903.c
index 9b5651502f12..3aca354f9e08 100644
--- a/sound/soc/tegra/tegra_wm8903.c
+++ b/sound/soc/tegra/tegra_wm8903.c
@@ -177,6 +177,7 @@ static int tegra_wm8903_init(struct snd_soc_pcm_runtime *rtd)
 	struct snd_soc_component *component = codec_dai->component;
 	struct snd_soc_card *card = rtd->card;
 	struct tegra_wm8903 *machine = snd_soc_card_get_drvdata(card);
+	int shrt = 0;
 
 	if (gpio_is_valid(machine->gpio_hp_det)) {
 		tegra_wm8903_hp_jack_gpio.gpio = machine->gpio_hp_det;
@@ -189,12 +190,15 @@ static int tegra_wm8903_init(struct snd_soc_pcm_runtime *rtd)
 					&tegra_wm8903_hp_jack_gpio);
 	}
 
+	if (of_property_read_bool(card->dev->of_node, "nvidia,headset"))
+		shrt = SND_JACK_MICROPHONE;
+
 	snd_soc_card_jack_new(rtd->card, "Mic Jack", SND_JACK_MICROPHONE,
 			      &tegra_wm8903_mic_jack,
 			      tegra_wm8903_mic_jack_pins,
 			      ARRAY_SIZE(tegra_wm8903_mic_jack_pins));
 	wm8903_mic_detect(component, &tegra_wm8903_mic_jack, SND_JACK_MICROPHONE,
-				0);
+				shrt);
 
 	snd_soc_dapm_force_enable_pin(&card->dapm, "MICBIAS");
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-04-14 14:47 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-30 20:40 [PATCH v1 0/2] Support headset on Tegra boards that use WM8903 Dmitry Osipenko
2020-03-30 20:40 ` [PATCH v1 1/2] dt-bindings: sound: tegra-wm8903: Document new nvidia,headset property Dmitry Osipenko
2020-04-10 17:44   ` Rob Herring
2020-04-14 14:47   ` Applied "ASoC: tegra-wm8903: Document new nvidia, headset property" to the asoc tree Mark Brown
2020-03-30 20:40 ` [PATCH v1 2/2] ASoC: tegra: tegra_wm8903: Support nvidia,headset property Dmitry Osipenko
2020-04-14 14:47   ` Applied "ASoC: tegra: tegra_wm8903: Support nvidia, headset property" to the asoc tree Mark Brown
2020-04-09 14:52 ` [PATCH v1 0/2] Support headset on Tegra boards that use WM8903 Dmitry Osipenko
2020-04-09 16:54   ` Stephen Warren
2020-04-09 17:13     ` Dmitry Osipenko
2020-04-09 17:29       ` Mark Brown
2020-04-09 17:33         ` Dmitry Osipenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).