summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_ca0132.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-02-04 18:25:51 +0100
committerTakashi Iwai <tiwai@suse.de>2013-02-04 18:30:49 +0100
commit24f3cede590b2e072c64361867d220418a5df1a8 (patch)
tree1402821eca91bf64bdb8274b77291560ac2e8aaf /sound/pci/hda/patch_ca0132.c
parentccd7bd3d07bd763f0e7397e6cef16aaec0489fdc (diff)
downloadop-kernel-dev-24f3cede590b2e072c64361867d220418a5df1a8.zip
op-kernel-dev-24f3cede590b2e072c64361867d220418a5df1a8.tar.gz
ALSA: hda - Add new Kconfig CONFIG_SND_HDA_CODEC_CA0132_DSP
... to be less confusing for the update path. This new kconfig will choose CONFIG_SND_HDA_DSP_LOADER, which is basically a device-independent feature in hda_intel.c. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_ca0132.c')
-rw-r--r--sound/pci/hda/patch_ca0132.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c
index 483850f..9d9040b 100644
--- a/sound/pci/hda/patch_ca0132.c
+++ b/sound/pci/hda/patch_ca0132.c
@@ -75,7 +75,7 @@
#define EFX_FILE "ctefx.bin"
-#ifdef CONFIG_SND_HDA_DSP_LOADER
+#ifdef CONFIG_SND_HDA_CODEC_CA0132_DSP
MODULE_FIRMWARE(EFX_FILE);
#endif
@@ -4530,7 +4530,7 @@ static int ca0132_init(struct hda_codec *codec)
ca0132_init_params(codec);
ca0132_init_flags(codec);
snd_hda_sequence_write(codec, spec->base_init_verbs);
-#ifdef CONFIG_SND_HDA_DSP_LOADER
+#ifdef CONFIG_SND_HDA_CODEC_CA0132_DSP
ca0132_download_dsp(codec);
#endif
ca0132_refresh_widget_caps(codec);
OpenPOWER on IntegriCloud