* [PATCH] ASoC: Extend range of supported sample rates for CS4271 CODEC.
@ 2011-03-05 0:55 Alexander Sverdlin
2011-03-07 10:36 ` Mark Brown
0 siblings, 1 reply; 3+ messages in thread
From: Alexander Sverdlin @ 2011-03-05 0:55 UTC (permalink / raw)
To: alsa-devel
From: Alexander Sverdlin <subaparts@yandex.ru>
Extend range of supported sample rates for CS4271 CODEC.
Signed-off-by: Alexander Sverdlin <subaparts@yandex.ru>
---
sound/soc/codecs/cs4271.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/cs4271.c b/sound/soc/codecs/cs4271.c
index 1791796..e5cc4da 100644
--- a/sound/soc/codecs/cs4271.c
+++ b/sound/soc/codecs/cs4271.c
@@ -33,6 +33,7 @@
#define CS4271_PCM_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | \
SNDRV_PCM_FMTBIT_S24_LE | \
SNDRV_PCM_FMTBIT_S32_LE)
+#define CS4271_PCM_RATES SNDRV_PCM_RATE_8000_192000
/*
* CS4271 registers
@@ -392,14 +393,14 @@ static struct snd_soc_dai_driver cs4271_dai = {
.stream_name = "Playback",
.channels_min = 2,
.channels_max = 2,
- .rates = SNDRV_PCM_RATE_8000_96000,
+ .rates = CS4271_PCM_RATES,
.formats = CS4271_PCM_FORMATS,
},
.capture = {
.stream_name = "Capture",
.channels_min = 2,
.channels_max = 2,
- .rates = SNDRV_PCM_RATE_8000_96000,
+ .rates = CS4271_PCM_RATES,
.formats = CS4271_PCM_FORMATS,
},
.ops = &cs4271_dai_ops,
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] ASoC: Extend range of supported sample rates for CS4271 CODEC.
2011-03-05 0:55 [PATCH] ASoC: Extend range of supported sample rates for CS4271 CODEC Alexander Sverdlin
@ 2011-03-07 10:36 ` Mark Brown
2011-03-07 11:12 ` Liam Girdwood
0 siblings, 1 reply; 3+ messages in thread
From: Mark Brown @ 2011-03-07 10:36 UTC (permalink / raw)
To: Alexander Sverdlin; +Cc: alsa-devel, lrg
On Sat, Mar 05, 2011 at 03:55:04AM +0300, Alexander Sverdlin wrote:
> From: Alexander Sverdlin <subaparts@yandex.ru>
>
> Extend range of supported sample rates for CS4271 CODEC.
>
> Signed-off-by: Alexander Sverdlin <subaparts@yandex.ru>
As I've previously reminded you please *always* CC maintainers on
patches. Patches not sent to the maintainers are very likely to get
missed. This is also covered in SubmittingPatches. CCing Liam in on
this one, there's a whole bunch of others.
> ---
> sound/soc/codecs/cs4271.c | 5 +++--
> 1 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/sound/soc/codecs/cs4271.c b/sound/soc/codecs/cs4271.c
> index 1791796..e5cc4da 100644
> --- a/sound/soc/codecs/cs4271.c
> +++ b/sound/soc/codecs/cs4271.c
> @@ -33,6 +33,7 @@
> #define CS4271_PCM_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | \
> SNDRV_PCM_FMTBIT_S24_LE | \
> SNDRV_PCM_FMTBIT_S32_LE)
> +#define CS4271_PCM_RATES SNDRV_PCM_RATE_8000_192000
>
> /*
> * CS4271 registers
> @@ -392,14 +393,14 @@ static struct snd_soc_dai_driver cs4271_dai = {
> .stream_name = "Playback",
> .channels_min = 2,
> .channels_max = 2,
> - .rates = SNDRV_PCM_RATE_8000_96000,
> + .rates = CS4271_PCM_RATES,
> .formats = CS4271_PCM_FORMATS,
> },
> .capture = {
> .stream_name = "Capture",
> .channels_min = 2,
> .channels_max = 2,
> - .rates = SNDRV_PCM_RATE_8000_96000,
> + .rates = CS4271_PCM_RATES,
> .formats = CS4271_PCM_FORMATS,
> },
> .ops = &cs4271_dai_ops,
>
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
--
"You grabbed my hand and we fell into it, like a daydream - or a fever."
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] ASoC: Extend range of supported sample rates for CS4271 CODEC.
2011-03-07 10:36 ` Mark Brown
@ 2011-03-07 11:12 ` Liam Girdwood
0 siblings, 0 replies; 3+ messages in thread
From: Liam Girdwood @ 2011-03-07 11:12 UTC (permalink / raw)
To: Mark Brown; +Cc: alsa-devel, Alexander Sverdlin
On Mon, 2011-03-07 at 10:36 +0000, Mark Brown wrote:
> On Sat, Mar 05, 2011 at 03:55:04AM +0300, Alexander Sverdlin wrote:
> > From: Alexander Sverdlin <subaparts@yandex.ru>
> >
> > Extend range of supported sample rates for CS4271 CODEC.
> >
> > Signed-off-by: Alexander Sverdlin <subaparts@yandex.ru>
>
> As I've previously reminded you please *always* CC maintainers on
> patches. Patches not sent to the maintainers are very likely to get
> missed. This is also covered in SubmittingPatches. CCing Liam in on
> this one, there's a whole bunch of others.
>
Acked-by: Liam Girdwood <lrg@ti.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-07 11:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-05 0:55 [PATCH] ASoC: Extend range of supported sample rates for CS4271 CODEC Alexander Sverdlin
2011-03-07 10:36 ` Mark Brown
2011-03-07 11:12 ` Liam Girdwood
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).