diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-08-09 13:49:23 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-08-09 16:28:51 +0200 |
commit | 5cb543dba9867588786f87af2e64fca371b69283 (patch) | |
tree | c8986219ff6f502e99d16c369ae903f97d73c634 /sound/pci/hda/hda_codec.c | |
parent | 4918cdab497d693f4de288a576fb22e8ff9df21e (diff) |
ALSA: hda - Deferred probing with request_firmware_nowait()
For processing the firmware handling properly for built-in kernels,
implement an asynchronous firmware loading with
request_firmware_nowait(). This means that the codec probing is
deferred when the patch option is specified.
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.c')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 88a9c20eb7a2..408babc10437 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c @@ -4184,7 +4184,7 @@ int snd_hda_codec_build_pcms(struct hda_codec *codec) * * This function returns 0 if successful, or a negative error code. */ -int __devinit snd_hda_build_pcms(struct hda_bus *bus) +int snd_hda_build_pcms(struct hda_bus *bus) { struct hda_codec *codec; |