aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2006-10-11 12:05:59 +0200
committerJaroslav Kysela <perex@suse.cz>2007-02-09 09:00:42 +0100
commit102fa9060e114a53628a6594034b6ecf624dffc6 (patch)
tree13a7fae84cbcea996d61b011bfc99b26b39125e5 /include/sound
parent[ALSA] snd-emu10k1: emu1010: replace long udelay with msleep. (diff)
downloadlinux-dev-102fa9060e114a53628a6594034b6ecf624dffc6.tar.xz
linux-dev-102fa9060e114a53628a6594034b6ecf624dffc6.zip
[ALSA] ymfpci: add request_firmware()
Load the DSP and controller microcode using request_firmware(), if possible, instead of using the built-in firmware. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/ymfpci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/ymfpci.h b/include/sound/ymfpci.h
index f3514ee96bd9..eef46faaee30 100644
--- a/include/sound/ymfpci.h
+++ b/include/sound/ymfpci.h
@@ -357,6 +357,8 @@ struct snd_ymfpci {
wait_queue_head_t interrupt_sleep;
atomic_t interrupt_sleep_count;
struct snd_info_entry *proc_entry;
+ const struct firmware *dsp_microcode;
+ const struct firmware *controller_microcode;
#ifdef CONFIG_PM
u32 *saved_regs;