]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - sound/pci/hda/hda_intel.c
ALSA: hda - Don't handle empty patch files
[mv-sheeva.git] / sound / pci / hda / hda_intel.c
index 2e91a991eb15d288eeac21e5584076ecdf480c13..0baffcdee8f9d01f3bce78b79573e81ff785a335 100644 (file)
@@ -2703,7 +2703,7 @@ static int __devinit azx_probe(struct pci_dev *pci,
        if (err < 0)
                goto out_free;
 #ifdef CONFIG_SND_HDA_PATCH_LOADER
-       if (patch[dev]) {
+       if (patch[dev] && *patch[dev]) {
                snd_printk(KERN_ERR SFX "Applying patch firmware '%s'\n",
                           patch[dev]);
                err = snd_hda_load_patch(chip->bus, patch[dev]);