From: Sedji Gaouaou <sedji.gaouaou@atmel.com>
To: ext-jukka.hynninen@vaisala.com
Cc: alsa-devel@alsa-project.org, broonie@sirena.org.uk
Subject: Re: ASoC: Merging at91 and avr32 dirs - test report
Date: Mon, 13 Oct 2008 16:22:06 +0200 [thread overview]
Message-ID: <48F3598E.3050404@atmel.com> (raw)
In-Reply-To: <B9D3C48C98930741A166756A50C44A610F17B561@helx1.corp.vaisala.com>
Hi,
ext-jukka.hynninen@vaisala.com a écrit :
> I tested the patches and got everything working with minor changes.
>
> However, there seems to be some problem with PM, occasionally ASoC is
> stuck with Standby mode (looking at dapm_widgets) when I start the
> playback. Restarting the player brings the sound back. I'll carry out
> some further investigation and get back to this.
Thank you for your help!
I've done more tests using the oss emulation in ALSA, and I have
encountered a problem.
In a previous mail Mark you mentioned this:
> +/*
> > + * Record SSC clock dividers for use in hw_params().
> > + */
> > +static int atmel_ssc_set_dai_clkdiv(struct snd_soc_dai *cpu_dai,
> > + int div_id, int div)
> > +{
> > + struct atmel_ssc_info *ssc_p = &ssc_info[cpu_dai->id];
> > +
> > + switch (div_id) {
> > + case AT91SSC_CMR_DIV:
> > + /*
> > + * The same master clock divider is used for both
> > + * transmit and receive, so if a value has already
> > + * been set, it must match this value.
> > + */
> > + if (ssc_p->cmr_div == 0)
> > + ssc_p->cmr_div = div;
> > + else
> > + if (div != ssc_p->cmr_div)
> > + return -EBUSY;
> > + break;
What happens if the user wants to change the master clock divider at
runtime - for example, when changing sample rates?
I had actually a crash because of this, so I will send a patch to
correct it(I simply removed it since I don't thonk it is needed).
Regards,
Sedji
next prev parent reply other threads:[~2008-10-13 14:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-10 15:15 ASoC: Merging at91 and avr32 dirs - test report ext-jukka.hynninen
2008-10-10 18:53 ` Mark Brown
2008-10-14 7:28 ` ext-jukka.hynninen
2008-10-14 12:38 ` ext-jukka.hynninen
2008-10-14 12:58 ` Mark Brown
2008-10-14 14:00 ` ext-jukka.hynninen
2008-10-27 9:57 ` Sedji Gaouaou
2008-10-27 10:42 ` Mark Brown
2008-10-27 11:13 ` ext-jukka.hynninen
2008-10-27 11:29 ` Mark Brown
2008-10-27 13:34 ` ext-jukka.hynninen
2008-10-13 14:22 ` Sedji Gaouaou [this message]
2008-10-13 14:34 ` 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=48F3598E.3050404@atmel.com \
--to=sedji.gaouaou@atmel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@sirena.org.uk \
--cc=ext-jukka.hynninen@vaisala.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.