]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/ca0132: Fix compile warning without PCI
authorTakashi Iwai <tiwai@suse.de>
Thu, 19 Nov 2020 12:04:04 +0000 (13:04 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 19 Nov 2020 12:04:43 +0000 (13:04 +0100)
commit1d70a604f15dae4b7ae8303774ecdd185d1789c0
treed5e69e255c5bb19056f5f41aeb63c4ff55fdaa18
parent15b8de6e516d6a013a4d2f2c8e6f68ce5690b1e8
ALSA: hda/ca0132: Fix compile warning without PCI

CONFIG_PCI=n leads to a compile warning like:
  sound/pci/hda/patch_ca0132.c:8214:10: warning: no case matching constant switch condition '0'
due to the missed handling of QUIRK_NONE in ca0132_mmio_init().
Fix it.

Fixes: ecc6be95c798 ("ALSA: hda/ca0132 - Cleanup ca0132_mmio_init function.")
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20201119120404.16833-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_ca0132.c