From: Takashi Iwai <tiwai@suse.de>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: [PATCH 1/2] ASoC: Advertise 16000Hz rate for WM9713 PCM interface
Date: Wed, 02 Jul 2008 14:27:25 +0200 [thread overview]
Message-ID: <s5hwsk4bhea.wl%tiwai@suse.de> (raw)
In-Reply-To: <1214995880-2773-1-git-send-email-broonie@opensource.wolfsonmicro.com>
At Wed, 2 Jul 2008 11:51:19 +0100,
Mark Brown wrote:
>
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Thanks, I applied both patches.
Takashi
> ---
> sound/soc/codecs/wm9713.c | 19 ++++++++++++++-----
> 1 files changed, 14 insertions(+), 5 deletions(-)
>
> diff --git a/sound/soc/codecs/wm9713.c b/sound/soc/codecs/wm9713.c
> index 0db9637..a480618 100644
> --- a/sound/soc/codecs/wm9713.c
> +++ b/sound/soc/codecs/wm9713.c
> @@ -1001,9 +1001,18 @@ static int ac97_aux_prepare(struct snd_pcm_substream *substream)
> return ac97_write(codec, AC97_PCM_SURR_DAC_RATE, runtime->rate);
> }
>
> -#define WM9713_RATES (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_11025 |\
> - SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_44100 |\
> - SNDRV_PCM_RATE_48000)
> +#define WM9713_RATES (SNDRV_PCM_RATE_8000 | \
> + SNDRV_PCM_RATE_11025 | \
> + SNDRV_PCM_RATE_22050 | \
> + SNDRV_PCM_RATE_44100 | \
> + SNDRV_PCM_RATE_48000)
> +
> +#define WM9713_PCM_RATES (SNDRV_PCM_RATE_8000 | \
> + SNDRV_PCM_RATE_11025 | \
> + SNDRV_PCM_RATE_16000 | \
> + SNDRV_PCM_RATE_22050 | \
> + SNDRV_PCM_RATE_44100 | \
> + SNDRV_PCM_RATE_48000)
>
> #define WM9713_PCM_FORMATS \
> (SNDRV_PCM_FORMAT_S16_LE | SNDRV_PCM_FORMAT_S20_3LE | \
> @@ -1051,13 +1060,13 @@ struct snd_soc_codec_dai wm9713_dai[] = {
> .stream_name = "Voice Playback",
> .channels_min = 1,
> .channels_max = 1,
> - .rates = WM9713_RATES,
> + .rates = WM9713_PCM_RATES,
> .formats = WM9713_PCM_FORMATS,},
> .capture = {
> .stream_name = "Voice Capture",
> .channels_min = 1,
> .channels_max = 2,
> - .rates = WM9713_RATES,
> + .rates = WM9713_PCM_RATES,
> .formats = WM9713_PCM_FORMATS,},
> .ops = {
> .hw_params = wm9713_pcm_hw_params,
> --
> 1.5.6
>
prev parent reply other threads:[~2008-07-02 12:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-02 10:51 [PATCH 1/2] ASoC: Advertise 16000Hz rate for WM9713 PCM interface Mark Brown
2008-07-02 10:51 ` [PATCH 2/2] ASoC: Make pop/click debug wait times dynamically configurable Mark Brown
2008-07-02 12:27 ` Takashi Iwai [this message]
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=s5hwsk4bhea.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox