diff options
Diffstat (limited to 'sound/pci/hda/hda_intel.c')
-rw-r--r-- | sound/pci/hda/hda_intel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index f2337e4eddda..a26ae8c4cf70 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c | |||
@@ -2182,7 +2182,7 @@ static int __devinit azx_create(struct snd_card *card, struct pci_dev *pci, | |||
2182 | } | 2182 | } |
2183 | 2183 | ||
2184 | chip->addr = pci_resource_start(pci, 0); | 2184 | chip->addr = pci_resource_start(pci, 0); |
2185 | chip->remap_addr = ioremap_nocache(chip->addr, pci_resource_len(pci,0)); | 2185 | chip->remap_addr = pci_ioremap_bar(pci, 0); |
2186 | if (chip->remap_addr == NULL) { | 2186 | if (chip->remap_addr == NULL) { |
2187 | snd_printk(KERN_ERR SFX "ioremap error\n"); | 2187 | snd_printk(KERN_ERR SFX "ioremap error\n"); |
2188 | err = -ENXIO; | 2188 | err = -ENXIO; |