aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_ca0132.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c
index fb7a32e730af..b1e099a3369c 100644
--- a/sound/pci/hda/patch_ca0132.c
+++ b/sound/pci/hda/patch_ca0132.c
@@ -2615,6 +2615,7 @@ static int dspload_image(struct hda_codec *codec,
return status;
}
+#ifdef CONFIG_SND_HDA_CODEC_CA0132_DSP
static bool dspload_is_loaded(struct hda_codec *codec)
{
unsigned int data = 0;
@@ -2626,6 +2627,9 @@ static bool dspload_is_loaded(struct hda_codec *codec)
return true;
}
+#else
+#define dspload_is_loaded(codec) false
+#endif
static bool dspload_wait_loaded(struct hda_codec *codec)
{