diff options
author | Timur Tabi <timur@freescale.com> | 2011-09-13 12:59:35 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-09-16 10:06:31 +0100 |
commit | d1dc698a54259cb454284456483b45f67c865cf8 (patch) | |
tree | d85f49ae885e1995d84fb4708ec39859832443e0 /drivers/mfd | |
parent | cc2115cbfc63da72890160da01608b3189dd1b74 (diff) |
ASoC: support sample sizes properly in the WM8776 codec driver
Use snd_pcm_format_width() to determine the sample size, instead of
checking specify sample formats and assuming that those are the only
valid format.
This change adds support for big-endian architectures (which use the _BE
formats) and the packed 24-bit format (SNDRV_PCM_FORMAT_S24_3xE).
[Fixed single letter variable name legibility problem -- broonie]
Signed-off-by: Timur Tabi <timur@freescale.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions