Skip to content

Commit 551310e

Browse files
committed
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: bf2aa9c ("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>
1 parent 54a2a38 commit 551310e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

sound/pci/hda/patch_ca0132.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9183,6 +9183,8 @@ static void ca0132_mmio_init(struct hda_codec *codec)
91839183
case QUIRK_AE5:
91849184
ca0132_mmio_init_ae5(codec);
91859185
break;
9186+
default:
9187+
break;
91869188
}
91879189
}
91889190

0 commit comments

Comments
 (0)