[alsa-devel] [PATCH] [v2] ASoC: support all possible sample rates in the WM8776 driver

Timur Tabi timur at freescale.com
Fri Sep 16 18:47:05 CEST 2011


Mark Brown wrote:
> No, it doesn't - it just blindly stores the sample rate in the private
> data.  There's no list at all there, the only checking that's done is
> for the DAI ID.

Wait, what?  This is the list I am talking about:

#define WM8776_RATES (SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 |\
		      SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_88200 |\
		      SNDRV_PCM_RATE_96000)

Is this not a list of sample rates that the driver says it supports?

-- 
Timur Tabi
Linux kernel developer at Freescale



More information about the Alsa-devel mailing list