ALSA: pcm_dmaengine: Remove hardcoded PCM formats
authorTakashi Iwai <tiwai@suse.de>
Fri, 25 Oct 2013 14:33:12 +0000 (16:33 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 28 Oct 2013 09:18:09 +0000 (10:18 +0100)
Use the standard PCM helper function to figure out the sample bytes
instead of hardcodec PCM format checks in
snd_hwparams_to_dma_slave_config().

The patch also extends the format check for 8 bytes formats although
no one should match so far.

Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found