Commit 551310e7 authored by Takashi Iwai's avatar Takashi Iwai

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: bf2aa9cc ("ALSA: hda/ca0132 - Cleanup ca0132_mmio_init function.")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20201119120404.16833-1-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 54a2a389
...@@ -9183,6 +9183,8 @@ static void ca0132_mmio_init(struct hda_codec *codec) ...@@ -9183,6 +9183,8 @@ static void ca0132_mmio_init(struct hda_codec *codec)
case QUIRK_AE5: case QUIRK_AE5:
ca0132_mmio_init_ae5(codec); ca0132_mmio_init_ae5(codec);
break; break;
default:
break;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment