commit | a655f75c7502e5000c8745f458d3dbb9777f4aca | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Fri Oct 25 16:33:12 2013 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Oct 28 10:18:09 2013 +0100 |
tree | 42b8ce7964a83f932a6ee95cc53c3753bebb648e | |
parent | afb5a7793144179bfd856e3c928b69c43e2a1d8a [diff] |
ALSA: pcm_dmaengine: Remove hardcoded PCM formats 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>