Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: cs4349: Fix up setting PWR_DWN bit
@ 2015-07-22  2:22 Axel Lin
  2015-07-22  9:57 ` Applied "ASoC: cs4349: Fix up setting PWR_DWN bit" to the asoc tree Mark Brown
  2015-07-30 21:49 ` [PATCH] ASoC: cs4349: Fix up setting PWR_DWN bit Tim Howe
  0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2015-07-22  2:22 UTC (permalink / raw)
  To: Mark Brown
  Cc: Brian Austin, alsa-devel, Liam Girdwood, Paul Handrigan, Tim Howe

The PWR_DWN is Bit 7, so current code does not set the PWR_DWN bit. Fix it.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 sound/soc/codecs/cs4349.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/cs4349.c b/sound/soc/codecs/cs4349.c
index 852be85..0d010c2 100644
--- a/sound/soc/codecs/cs4349.c
+++ b/sound/soc/codecs/cs4349.c
@@ -326,7 +326,7 @@ static int cs4349_runtime_suspend(struct device *dev)
 	struct cs4349_private *cs4349 = dev_get_drvdata(dev);
 	int ret;
 
-	ret = regmap_update_bits(cs4349->regmap, CS4349_MISC, PWR_DWN, 1);
+	ret = regmap_update_bits(cs4349->regmap, CS4349_MISC, PWR_DWN, PWR_DWN);
 	if (ret < 0)
 		return ret;
 
-- 
2.1.0

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

* Applied "ASoC: cs4349: Fix up setting PWR_DWN bit" to the asoc tree
  2015-07-22  2:22 [PATCH] ASoC: cs4349: Fix up setting PWR_DWN bit Axel Lin
@ 2015-07-22  9:57 ` Mark Brown
  2015-07-30 21:49 ` [PATCH] ASoC: cs4349: Fix up setting PWR_DWN bit Tim Howe
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2015-07-22  9:57 UTC (permalink / raw)
  To: Axel Lin, Mark Brown; +Cc: alsa-devel

The patch

   ASoC: cs4349: Fix up setting PWR_DWN bit

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 ec12693e5d03c7e6399ba1e9150908527b809f33 Mon Sep 17 00:00:00 2001
From: Axel Lin <axel.lin@ingics.com>
Date: Wed, 22 Jul 2015 10:22:33 +0800
Subject: [PATCH] ASoC: cs4349: Fix up setting PWR_DWN bit

The PWR_DWN is Bit 7, so current code does not set the PWR_DWN bit. Fix it.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/cs4349.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/cs4349.c b/sound/soc/codecs/cs4349.c
index 852be858bb9f..0d010c2b6021 100644
--- a/sound/soc/codecs/cs4349.c
+++ b/sound/soc/codecs/cs4349.c
@@ -326,7 +326,7 @@ static int cs4349_runtime_suspend(struct device *dev)
 	struct cs4349_private *cs4349 = dev_get_drvdata(dev);
 	int ret;
 
-	ret = regmap_update_bits(cs4349->regmap, CS4349_MISC, PWR_DWN, 1);
+	ret = regmap_update_bits(cs4349->regmap, CS4349_MISC, PWR_DWN, PWR_DWN);
 	if (ret < 0)
 		return ret;
 
-- 
2.1.4

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

* Re: [PATCH] ASoC: cs4349: Fix up setting PWR_DWN bit
  2015-07-22  2:22 [PATCH] ASoC: cs4349: Fix up setting PWR_DWN bit Axel Lin
  2015-07-22  9:57 ` Applied "ASoC: cs4349: Fix up setting PWR_DWN bit" to the asoc tree Mark Brown
@ 2015-07-30 21:49 ` Tim Howe
  1 sibling, 0 replies; 3+ messages in thread
From: Tim Howe @ 2015-07-30 21:49 UTC (permalink / raw)
  To: Axel Lin
  Cc: alsa-devel, Brian Austin, Paul Handrigan, Liam Girdwood,
	Mark Brown, Tim Howe



On Tue, 21 Jul 2015, Axel Lin wrote:

> The PWR_DWN is Bit 7, so current code does not set the PWR_DWN bit. Fix it.
> 
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
>  sound/soc/codecs/cs4349.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
Another good catch, thank you!
Acked-by: Tim Howe <tim.howe@cirrus.com>

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

end of thread, other threads:[~2015-07-30 21:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-22  2:22 [PATCH] ASoC: cs4349: Fix up setting PWR_DWN bit Axel Lin
2015-07-22  9:57 ` Applied "ASoC: cs4349: Fix up setting PWR_DWN bit" to the asoc tree Mark Brown
2015-07-30 21:49 ` [PATCH] ASoC: cs4349: Fix up setting PWR_DWN bit Tim Howe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox