From: Vasily Khoruzhick <anarsoul@gmail.com>
To: Mark Brown <broonie@sirena.org.uk>
Cc: alsa-devel@alsa-project.org, pHilipp Zabel <philipp.zabel@gmail.com>
Subject: Re: asoc: s3c24xx+uda1380 - some questions
Date: Tue, 3 Feb 2009 15:52:56 +0200 [thread overview]
Message-ID: <200902031553.03024.anarsoul@gmail.com> (raw)
In-Reply-To: <20090203120504.GC23827@sirena.org.uk>
[-- Attachment #1.1.1: Type: text/plain, Size: 356 bytes --]
On Tuesday 03 February 2009 14:05:08 Mark Brown wrote:
> Please do. You should at least include some text in the patch
> description explaining what you're doing.
One more version of patch, I've fixed patch description, but didn't removed
FIXME's, just fixed one comment.
Btw, it would be nice to hear Philipp's opinion :)
Regards
Vasily
[-- Attachment #1.1.2: 0001-UDA1380-driver-should-restore-UDA1380_CLK-register-v.patch --]
[-- Type: text/x-patch, Size: 1172 bytes --]
From 507528459911f7cc5745274bffd652e2f5302889 Mon Sep 17 00:00:00 2001
From: Vasily Khoruzhick <anarsoul@gmail.com>
Date: Tue, 3 Feb 2009 15:28:35 +0200
Subject: [PATCH] UDA1380 driver should restore UDA1380_CLK register value in
uda1380_pcm_prepare instead of enabling R00_DAC_CLK.
Without this fix driver switches to WSPLL in uda1380_pcm_prepare
even if SYSCLK was chosen (uda1380_pcm_prepare modifies UDA1380_CLK
register to disable R00_DAC_CLK before flushing reg cache)
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
---
sound/soc/codecs/uda1380.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/uda1380.c b/sound/soc/codecs/uda1380.c
index a69ee72..eba034a 100644
--- a/sound/soc/codecs/uda1380.c
+++ b/sound/soc/codecs/uda1380.c
@@ -432,8 +432,8 @@ static int uda1380_pcm_prepare(struct snd_pcm_substream *substream)
uda1380_write(codec, reg, uda1380_read_reg_cache(codec, reg));
}
- /* FIXME enable DAC_CLK */
- uda1380_write(codec, UDA1380_CLK, clk | R00_DAC_CLK);
+ /* FIXME restore DAC_CLK */
+ uda1380_write(codec, UDA1380_CLK, clk);
return 0;
}
--
1.6.1.1
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2009-02-03 13:53 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-27 13:19 asoc: s3c24xx+uda1380 - some questions Vasily Khoruzhick
2009-01-27 15:00 ` Mark Brown
2009-01-27 15:19 ` Vasily Khoruzhick
2009-01-27 15:25 ` Mark Brown
2009-01-27 15:49 ` Vasily Khoruzhick
2009-01-27 16:06 ` pHilipp Zabel
2009-01-27 16:22 ` Vasily Khoruzhick
2009-01-27 19:49 ` pHilipp Zabel
2009-01-27 20:32 ` Vasily Khoruzhick
2009-02-02 23:46 ` Vasily Khoruzhick
2009-02-03 11:41 ` Mark Brown
2009-02-03 11:57 ` Vasily Khoruzhick
2009-02-03 12:05 ` Mark Brown
2009-02-03 13:52 ` Vasily Khoruzhick [this message]
2009-02-03 16:09 ` pHilipp Zabel
2009-02-03 17:21 ` Mark Brown
2009-01-27 20:00 ` Mark Brown
2009-01-27 20:14 ` Vasily Khoruzhick
2009-01-27 20:19 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200902031553.03024.anarsoul@gmail.com \
--to=anarsoul@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@sirena.org.uk \
--cc=philipp.zabel@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.