From: Eldad Zack Date: Mon, 22 Apr 2013 23:00:42 +0000 (+0200) Subject: ALSA: asihpi: add format support check in snd_card_asihpi_capture_formats X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~52^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=167d0a11d5feedd1f9cb9ae128ac543e97148eff;p=pandora-kernel.git ALSA: asihpi: add format support check in snd_card_asihpi_capture_formats Some Asihpi formats are not supported or invalid, and their mapping to ALSA format is set to -1. Before performing the format conversion into ALSA bitwise formats, add a consistency check for the requested format, as done in snd_card_asihpi_playback_formats(). Compile tested only. Signed-off-by: Eldad Zack Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed