mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 03:33:59 +08:00
ALSA: hda/ca0132 - Call pci_iounmap() instead of iounmap()
We need to call pci_iounmap() instead of iounmap() for the regions
obtained via pci_iomap() call for some archs that need special
treatment.
Fixes: aa31704fd8
("ALSA: hda/ca0132: Add PCI region2 iomap for SBZ")
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
563785edfc
commit
d99501b857
@ -8413,7 +8413,7 @@ static void ca0132_free(struct hda_codec *codec)
|
||||
|
||||
snd_hda_power_down(codec);
|
||||
if (spec->mem_base)
|
||||
iounmap(spec->mem_base);
|
||||
pci_iounmap(codec->bus->pci, spec->mem_base);
|
||||
kfree(spec->spec_init_verbs);
|
||||
kfree(codec->spec);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user