]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/ca0132 - Fix build error without CONFIG_PCI
authorTakashi Iwai <tiwai@suse.de>
Tue, 5 Feb 2019 16:57:27 +0000 (17:57 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Feb 2019 06:17:17 +0000 (07:17 +0100)
commitaa0221b17121e684c4b33aaace3ea80b60fce2f8
tree3b015b057b0cc4a536973390d5c8541cd1a0962e
parentb72cc85efcadaac129348b0618e4f1b6ceeb71d2
ALSA: hda/ca0132 - Fix build error without CONFIG_PCI

A call of pci_iounmap() call without CONFIG_PCI leads to a build error
on some architectures.  We tried to address this and add a check of
IS_ENABLED(CONFIG_PCI), but this still doesn't seem enough for sh.
Ideally we should fix it globally, it's really a corner case, so let's
paper over it with a simpler ifdef.

Fixes: 2f59a96205c9 ("ALSA: hda/ca0132 - make pci_iounmap() call conditional")
Reported-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_ca0132.c