From: Tim Blechmann Date: Sun, 9 Nov 2008 11:50:52 +0000 (+0100) Subject: ALSA: HDSP: check for io box before uploading firmware X-Git-Tag: v2.6.28-rc5~93^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00c9ddd1d4cc73aa0077f379279d716cb0ab0ba5;p=pandora-kernel.git ALSA: HDSP: check for io box before uploading firmware currently the hdsp driver tries to upload the firmware, even if the io box is not connected. this patch adds a check for the io box before trying to upload the firmware. thus instead of messages complaining about the fifo status and firmware loading failure, the driver gives a message that no multiface or digiface is connected. [A minor coding-style fix by tiwai] Signed-off-by: Tim Blechmann Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed