summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_codec.h
diff options
context:
space:
mode:
authorTakashi Iwai2012-08-09 12:33:28 +0200
committerTakashi Iwai2012-08-09 16:28:19 +0200
commit4918cdab497d693f4de288a576fb22e8ff9df21e (patch)
treeb723f0e106c79f9591aec9442e790d0cb0d39ac7 /sound/pci/hda/hda_codec.h
parentALSA: hda - Fix pop noise in headphones on S3 for Asus X55A, X55V (diff)
downloadkernel-qcow2-linux-4918cdab497d693f4de288a576fb22e8ff9df21e.tar.gz
kernel-qcow2-linux-4918cdab497d693f4de288a576fb22e8ff9df21e.tar.xz
kernel-qcow2-linux-4918cdab497d693f4de288a576fb22e8ff9df21e.zip
ALSA: hda - Load firmware in hda_intel.c
This is a preliminary work for the deferred probing for request_firmware() errors at init. This patch moves the call of request_firmware() to hda_intel.c, and call it in the earlier stage of probing rather than azx_probe_continue(). Tested-by: Thierry Reding <thierry.reding@avionic-design.de> Reviewed-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r--sound/pci/hda/hda_codec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h
index c422d330ca54..39e43753ddbf 100644
--- a/sound/pci/hda/hda_codec.h
+++ b/sound/pci/hda/hda_codec.h
@@ -1072,7 +1072,7 @@ static inline void snd_hda_power_down(struct hda_codec *codec) {}
/*
* patch firmware
*/
-int snd_hda_load_patch(struct hda_bus *bus, const char *patch);
+int snd_hda_load_patch(struct hda_bus *bus, size_t size, const void *buf);
#endif
/*