Merge branches 'topic/fix/hda' and 'topic/fix/misc' into for-linus
[sfrench/cifs-2.6.git] / sound / pci / hda / hda_intel.c
index c04ac38e2b2e469ff404c4d1e4d094fb86f369b1..35722ec920cb0ed556cee27e19ad44929d34bc61 100644 (file)
@@ -2186,7 +2186,7 @@ static int __devinit azx_create(struct snd_card *card, struct pci_dev *pci,
        }
 
        chip->addr = pci_resource_start(pci, 0);
-       chip->remap_addr = ioremap_nocache(chip->addr, pci_resource_len(pci,0));
+       chip->remap_addr = pci_ioremap_bar(pci, 0);
        if (chip->remap_addr == NULL) {
                snd_printk(KERN_ERR SFX "ioremap error\n");
                err = -ENXIO;