From: Tim Blechmann Date: Sat, 8 Nov 2008 13:42:18 +0000 (+0100) Subject: ALSA: hdsp: check for iobox and upload firmware during ioctl X-Git-Tag: v2.6.28-rc5~93^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ae7e2e22900b90bbe1d19454405950893c110be;p=pandora-kernel.git ALSA: hdsp: check for iobox and upload firmware during ioctl currently, the error message when trying to run hdspmixer or hdspconf if the breakout box is not connected is somehow misleading, since it asks the user to upload the firmware. this patch adds a test, whether the breakout box is connected and tries to upload the firmware in the case, that it is not present, e.g. because of power failures of the breakout box. [Minor coding-style fixes by tiwai] Signed-off-by: Tim Blechmann Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed