diff options
author | Ben Gardiner <bengardiner@nanometrics.ca> | 2011-05-24 20:50:16 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-05-25 13:14:29 +0200 |
commit | 8e56d5b834610504e232641565236ac60740a858 (patch) | |
tree | 40d37a4b9e703192c3e386f2d03bc24c75fed935 /arch/parisc | |
parent | ASoC: davinci-pcm: trivial: make ping-pong params setup symmetrical (diff) | |
download | linux-8e56d5b834610504e232641565236ac60740a858.tar.xz linux-8e56d5b834610504e232641565236ac60740a858.zip |
ASoC: davinci-pcm: expand the .formats
Based on the data_type test in ping_pong_dma_setup, davinci-pcm is capable of
handling data of width up to and including 32bits.
"
if ((data_type == 0) || (data_type > 4)) {
printk(KERN_ERR "%s: data_type=%i\n", __func__, data_type);
return -EINVAL;
}
"
Update the .format member of the snd_pcm_hardware instances it registers to
reflect this capability.
Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca>
Reviewed-by: Steven Faludi <stevenfaludi@nanometrics.ca>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'arch/parisc')
0 files changed, 0 insertions, 0 deletions