All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: rt5651: Convert rt5651 micbias1 to a supply widget
@ 2017-10-18 17:06 Carlo Caione
  2017-10-21 10:09   ` Mark Brown
  2017-10-23  9:43   ` Mark Brown
  0 siblings, 2 replies; 7+ messages in thread
From: Carlo Caione @ 2017-10-18 17:06 UTC (permalink / raw)
  To: linux, bardliao, oder_chiou, lgirdwood, broonie, alsa-devel,
	linux-kernel, pierre-louis.bossart
  Cc: Carlo Caione

From: Carlo Caione <carlo@endlessm.com>

MICBIAS widget type has been deprecated. Convert it to a SUPPLY widget.

Signed-off-by: Carlo Caione <carlo@endlessm.com>
---
 sound/soc/codecs/rt5651.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/rt5651.c b/sound/soc/codecs/rt5651.c
index da60b28ba3df..28f7210cec91 100644
--- a/sound/soc/codecs/rt5651.c
+++ b/sound/soc/codecs/rt5651.c
@@ -883,8 +883,8 @@ static const struct snd_soc_dapm_widget rt5651_dapm_widgets[] = {
 	/* micbias */
 	SND_SOC_DAPM_SUPPLY("LDO", RT5651_PWR_ANLG1,
 			RT5651_PWR_LDO_BIT, 0, NULL, 0),
-	SND_SOC_DAPM_MICBIAS("micbias1", RT5651_PWR_ANLG2,
-			RT5651_PWR_MB1_BIT, 0),
+	SND_SOC_DAPM_SUPPLY("micbias1", RT5651_PWR_ANLG2,
+			RT5651_PWR_MB1_BIT, 0, NULL, 0),
 	/* Input Lines */
 	SND_SOC_DAPM_INPUT("MIC1"),
 	SND_SOC_DAPM_INPUT("MIC2"),
-- 
2.14.2

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

* Re: [PATCH] ASoC: rt5651: Convert rt5651 micbias1 to a supply widget
  2017-10-18 17:06 [PATCH] ASoC: rt5651: Convert rt5651 micbias1 to a supply widget Carlo Caione
@ 2017-10-21 10:09   ` Mark Brown
  2017-10-23  9:43   ` Mark Brown
  1 sibling, 0 replies; 7+ messages in thread
From: Mark Brown @ 2017-10-21 10:09 UTC (permalink / raw)
  To: Carlo Caione
  Cc: linux, bardliao, oder_chiou, lgirdwood, alsa-devel, linux-kernel,
	pierre-louis.bossart, Carlo Caione

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

On Wed, Oct 18, 2017 at 06:06:31PM +0100, Carlo Caione wrote:
> From: Carlo Caione <carlo@endlessm.com>
> 
> MICBIAS widget type has been deprecated. Convert it to a SUPPLY widget.

Do we have any machine drivers using this?  If it was just a simple
substitution then we'd have just done the conversion but the routing for
MICBIAS was funky, requiring that it be looped into the path.

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

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

* Re: [PATCH] ASoC: rt5651: Convert rt5651 micbias1 to a supply widget
@ 2017-10-21 10:09   ` Mark Brown
  0 siblings, 0 replies; 7+ messages in thread
From: Mark Brown @ 2017-10-21 10:09 UTC (permalink / raw)
  To: Carlo Caione
  Cc: oder_chiou, pierre-louis.bossart, alsa-devel, lgirdwood,
	linux-kernel, Carlo Caione, bardliao, linux


[-- Attachment #1.1: Type: text/plain, Size: 393 bytes --]

On Wed, Oct 18, 2017 at 06:06:31PM +0100, Carlo Caione wrote:
> From: Carlo Caione <carlo@endlessm.com>
> 
> MICBIAS widget type has been deprecated. Convert it to a SUPPLY widget.

Do we have any machine drivers using this?  If it was just a simple
substitution then we'd have just done the conversion but the routing for
MICBIAS was funky, requiring that it be looped into the path.

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

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



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

* Re: [PATCH] ASoC: rt5651: Convert rt5651 micbias1 to a supply widget
  2017-10-21 10:09   ` Mark Brown
@ 2017-10-21 14:51     ` Carlo Caione
  -1 siblings, 0 replies; 7+ messages in thread
From: Carlo Caione @ 2017-10-21 14:51 UTC (permalink / raw)
  To: Mark Brown
  Cc: Carlo Caione, Linux Upstreaming Team, Bard Liao, Oder Chiou,
	Liam Girdwood, alsa-devel, linux-kernel, Pierre-Louis Bossart

On Sat, Oct 21, 2017 at 11:09 AM, Mark Brown <broonie@kernel.org> wrote:
> On Wed, Oct 18, 2017 at 06:06:31PM +0100, Carlo Caione wrote:
>> From: Carlo Caione <carlo@endlessm.com>
>>
>> MICBIAS widget type has been deprecated. Convert it to a SUPPLY widget.
>
> Do we have any machine drivers using this?  If it was just a simple
> substitution then we'd have just done the conversion but the routing for
> MICBIAS was funky, requiring that it be looped into the path.

We have bytcr_rt5651.c already using it as a supply (source) widget.
Also this change is required to have the jack detection working fine
using the set of patches posted in [0]

thanks,

[0] https://www.spinics.net/lists/kernel/msg2630096.html

-- 
Carlo Caione  |  +39.340.80.30.096  |  Endless

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

* Re: [PATCH] ASoC: rt5651: Convert rt5651 micbias1 to a supply widget
@ 2017-10-21 14:51     ` Carlo Caione
  0 siblings, 0 replies; 7+ messages in thread
From: Carlo Caione @ 2017-10-21 14:51 UTC (permalink / raw)
  To: Mark Brown
  Cc: Oder Chiou, Pierre-Louis Bossart, alsa-devel, Liam Girdwood,
	linux-kernel, Carlo Caione, Bard Liao, Linux Upstreaming Team

On Sat, Oct 21, 2017 at 11:09 AM, Mark Brown <broonie@kernel.org> wrote:
> On Wed, Oct 18, 2017 at 06:06:31PM +0100, Carlo Caione wrote:
>> From: Carlo Caione <carlo@endlessm.com>
>>
>> MICBIAS widget type has been deprecated. Convert it to a SUPPLY widget.
>
> Do we have any machine drivers using this?  If it was just a simple
> substitution then we'd have just done the conversion but the routing for
> MICBIAS was funky, requiring that it be looped into the path.

We have bytcr_rt5651.c already using it as a supply (source) widget.
Also this change is required to have the jack detection working fine
using the set of patches posted in [0]

thanks,

[0] https://www.spinics.net/lists/kernel/msg2630096.html

-- 
Carlo Caione  |  +39.340.80.30.096  |  Endless

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

* Applied "ASoC: rt5651: Convert rt5651 micbias1 to a supply widget" to the asoc tree
  2017-10-18 17:06 [PATCH] ASoC: rt5651: Convert rt5651 micbias1 to a supply widget Carlo Caione
@ 2017-10-23  9:43   ` Mark Brown
  2017-10-23  9:43   ` Mark Brown
  1 sibling, 0 replies; 7+ messages in thread
From: Mark Brown @ 2017-10-23  9:43 UTC (permalink / raw)
  To: Carlo Caione
  Cc: Mark Brown, linux, bardliao, oder_chiou, lgirdwood, broonie,
	alsa-devel, linux-kernel, pierre-louis.bossart, alsa-devel

The patch

   ASoC: rt5651: Convert rt5651 micbias1 to a supply widget

has been applied to the asoc tree at

   git://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 be96fc54d2ed8eae6683b71d2dc5d1a939a10a1e Mon Sep 17 00:00:00 2001
From: Carlo Caione <carlo@endlessm.com>
Date: Wed, 18 Oct 2017 18:06:31 +0100
Subject: [PATCH] ASoC: rt5651: Convert rt5651 micbias1 to a supply widget

MICBIAS widget type has been deprecated. Convert it to a SUPPLY widget.

Signed-off-by: Carlo Caione <carlo@endlessm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/rt5651.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/rt5651.c b/sound/soc/codecs/rt5651.c
index da60b28ba3df..28f7210cec91 100644
--- a/sound/soc/codecs/rt5651.c
+++ b/sound/soc/codecs/rt5651.c
@@ -883,8 +883,8 @@ static const struct snd_soc_dapm_widget rt5651_dapm_widgets[] = {
 	/* micbias */
 	SND_SOC_DAPM_SUPPLY("LDO", RT5651_PWR_ANLG1,
 			RT5651_PWR_LDO_BIT, 0, NULL, 0),
-	SND_SOC_DAPM_MICBIAS("micbias1", RT5651_PWR_ANLG2,
-			RT5651_PWR_MB1_BIT, 0),
+	SND_SOC_DAPM_SUPPLY("micbias1", RT5651_PWR_ANLG2,
+			RT5651_PWR_MB1_BIT, 0, NULL, 0),
 	/* Input Lines */
 	SND_SOC_DAPM_INPUT("MIC1"),
 	SND_SOC_DAPM_INPUT("MIC2"),
-- 
2.14.1

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

* Applied "ASoC: rt5651: Convert rt5651 micbias1 to a supply widget" to the asoc tree
@ 2017-10-23  9:43   ` Mark Brown
  0 siblings, 0 replies; 7+ messages in thread
From: Mark Brown @ 2017-10-23  9:43 UTC (permalink / raw)
  To: Carlo Caione; +Cc: Mark Brown, linux, bardliao, oder_chiou, lgirdwood

The patch

   ASoC: rt5651: Convert rt5651 micbias1 to a supply widget

has been applied to the asoc tree at

   git://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 be96fc54d2ed8eae6683b71d2dc5d1a939a10a1e Mon Sep 17 00:00:00 2001
From: Carlo Caione <carlo@endlessm.com>
Date: Wed, 18 Oct 2017 18:06:31 +0100
Subject: [PATCH] ASoC: rt5651: Convert rt5651 micbias1 to a supply widget

MICBIAS widget type has been deprecated. Convert it to a SUPPLY widget.

Signed-off-by: Carlo Caione <carlo@endlessm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/rt5651.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/rt5651.c b/sound/soc/codecs/rt5651.c
index da60b28ba3df..28f7210cec91 100644
--- a/sound/soc/codecs/rt5651.c
+++ b/sound/soc/codecs/rt5651.c
@@ -883,8 +883,8 @@ static const struct snd_soc_dapm_widget rt5651_dapm_widgets[] = {
 	/* micbias */
 	SND_SOC_DAPM_SUPPLY("LDO", RT5651_PWR_ANLG1,
 			RT5651_PWR_LDO_BIT, 0, NULL, 0),
-	SND_SOC_DAPM_MICBIAS("micbias1", RT5651_PWR_ANLG2,
-			RT5651_PWR_MB1_BIT, 0),
+	SND_SOC_DAPM_SUPPLY("micbias1", RT5651_PWR_ANLG2,
+			RT5651_PWR_MB1_BIT, 0, NULL, 0),
 	/* Input Lines */
 	SND_SOC_DAPM_INPUT("MIC1"),
 	SND_SOC_DAPM_INPUT("MIC2"),
-- 
2.14.1

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

end of thread, other threads:[~2017-10-23  9:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-18 17:06 [PATCH] ASoC: rt5651: Convert rt5651 micbias1 to a supply widget Carlo Caione
2017-10-21 10:09 ` Mark Brown
2017-10-21 10:09   ` Mark Brown
2017-10-21 14:51   ` Carlo Caione
2017-10-21 14:51     ` Carlo Caione
2017-10-23  9:43 ` Applied "ASoC: rt5651: Convert rt5651 micbias1 to a supply widget" to the asoc tree Mark Brown
2017-10-23  9:43   ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.