16 Sep
2011
16 Sep
'11
6:47 p.m.
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