From: Takashi Iwai Date: Fri, 25 Oct 2013 14:33:12 +0000 (+0200) Subject: ALSA: pcm_dmaengine: Remove hardcoded PCM formats X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~14^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a655f75c7502e5000c8745f458d3dbb9777f4aca;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed