Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Geoffrey Wossum <geoffrey@pager.net>
Cc: alsa-devel@alsa-project.org
Subject: Re: AT32AP7000 (AVR32) + WM8510
Date: Thu, 22 May 2008 20:46:21 +0100	[thread overview]
Message-ID: <20080522194621.GA12490@sirena.org.uk> (raw)
In-Reply-To: <200805221120.08815.geoffrey@pager.net>

On Thu, May 22, 2008 at 11:20:08AM -0500, Geoffrey Wossum wrote:

> stream.  A patch is found a the bottom of this email.  With this patch, the 
> registers on the WM8510 seem to be getting configured properly (all the clock 
> rates and such look correct), but I get no signal at the speaker outputs or 

Almost of this looks good, thanks for spotting these!  I've applied the
bits I was able to check, see below for one issue.  Note that when
submitting changes it's always best to supply a Signed-off-by, though
for changes like this it's probably OK not to.

> the mono output, no matter what the mixer settings are.  They just sit VMID 
> after the initial power up of the chip.  

Check that all the required DAPM widgets are powered up by looking in
/sys/bus/platform/devices/soc-audio/dapm_widget during playback - if
they aren't then enabling DAPM_DEBUG in sound/soc/soc-dapm.c will make
DAPM display information about the decisions it's making.  If you can't
see anything there could you please supply a register dump from during
playback (availible in /sys/bus/platform/devices/soc-audio/codec_reg)?

I'm out of the office at the minute so can't test on actual hardware
myself right now.

> @@ -597,14 +597,14 @@ struct snd_soc_codec_dai wm8510_dai = {
>  	.name = "WM8510 HiFi",
>  	.playback = {
>  		.stream_name = "Playback",
> -		.channels_min = 1,
> -		.channels_max = 1,
> +		.channels_min = 2,
> +		.channels_max = 2,
>  		.rates = WM8510_RATES,

I'll need to check this out in more detail - the WM8510 is a mono codec
so it can only play one channel.

  reply	other threads:[~2008-05-22 19:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-22 16:20 AT32AP7000 (AVR32) + WM8510 Geoffrey Wossum
2008-05-22 19:46 ` Mark Brown [this message]
2008-05-22 19:57   ` Geoffrey Wossum
2008-05-22 22:48     ` Mark Brown
2008-05-22 23:11       ` Geoffrey Wossum
2008-05-23 22:56         ` Geoffrey Wossum
2008-05-26  9:45           ` Mark Brown
2008-05-27 15:16             ` Geoffrey Wossum
2008-05-27 18:45               ` Mark Brown
2008-05-27 22:26                 ` Geoffrey Wossum

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=20080522194621.GA12490@sirena.org.uk \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=geoffrey@pager.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox