]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hdsp: check for iobox and upload firmware during ioctl
authorTim Blechmann <tim@klingt.org>
Sat, 8 Nov 2008 13:42:18 +0000 (14:42 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 9 Nov 2008 11:55:18 +0000 (12:55 +0100)
commit49e3a1cbbda222c27f272fae16ed8475b4e84749
tree2c9917715ee10a4d3997a2ba1b6552a951e3f200
parentcebfd8b5569116154d8e8258d930ed1c05317f2a
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 <tim@klingt.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/rme9652/hdsp.c