Merge branch 'fix/hda' into topic/hda
[linux-2.6.git] / sound / pci / hda / hda_intel.c
index f2337e4eddda439c29f7fb62fcfe66fa380ada84..a26ae8c4cf70d5fa40c32c12b6501de44761800d 100644 (file)
@@ -2182,7 +2182,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;