alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fix the bug for WM8962 DSP_A and DSP_B settings
@ 2011-09-28 18:28 Susan Gao
  2011-09-29 10:11 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Susan Gao @ 2011-09-28 18:28 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: alsa-devel, patches

Signed-off-by: Susan Gao <sgao@opensource.wolfsonmicro.com>
---
 sound/soc/codecs/wm8962.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c
index 117349b..49ea487 100644
--- a/sound/soc/codecs/wm8962.c
+++ b/sound/soc/codecs/wm8962.c
@@ -3030,8 +3030,7 @@ static int wm8962_set_dai_fmt(struct snd_soc_dai
*dai, unsigned int fmt)
 	switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) {
 	case SND_SOC_DAIFMT_DSP_A:
-		aif0 |= WM8962_LRCLK_INV;
-	case SND_SOC_DAIFMT_DSP_B:
 		aif0 |= 3;
+	case SND_SOC_DAIFMT_DSP_B:
+		aif0 |= 3 | WM8962_LRCLK_INV;
 		switch (fmt & SND_SOC_DAIFMT_INV_MASK) {
 		case SND_SOC_DAIFMT_NB_NF:
--
1.7.1

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

* Re: [PATCH] fix the bug for WM8962 DSP_A and DSP_B settings
  2011-09-28 18:28 [PATCH] fix the bug for WM8962 DSP_A and DSP_B settings Susan Gao
@ 2011-09-29 10:11 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2011-09-29 10:11 UTC (permalink / raw)
  To: Susan Gao; +Cc: alsa-devel, patches, Liam Girdwood

On Wed, Sep 28, 2011 at 11:28:00AM -0700, Susan Gao wrote:
> Signed-off-by: Susan Gao <sgao@opensource.wolfsonmicro.com>

Applied, though there were a couple of issues - I'm not entirely sure
what's going on here but I had to apply this by hand.  There was a word
wrapping issue but I fixed that and there was still an issue so I ended
up hand applying.  Please also remember to include the relevant prefix
in the commit log (ASoC: for audio drivers).

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

end of thread, other threads:[~2011-09-29 10:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-28 18:28 [PATCH] fix the bug for WM8962 DSP_A and DSP_B settings Susan Gao
2011-09-29 10:11 ` Mark Brown

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).