aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/pci/hda/patch_ca0132.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c
index 49635d1c9c39..09ff85c622bb 100644
--- a/sound/pci/hda/patch_ca0132.c
+++ b/sound/pci/hda/patch_ca0132.c
@@ -5966,7 +5966,7 @@ static int ca0132_build_pcms(struct hda_codec *codec)
5966 info->stream[SNDRV_PCM_STREAM_CAPTURE].nid = spec->adcs[0]; 5966 info->stream[SNDRV_PCM_STREAM_CAPTURE].nid = spec->adcs[0];
5967 5967
5968 /* With the DSP enabled, desktops don't use this ADC. */ 5968 /* With the DSP enabled, desktops don't use this ADC. */
5969 if (spec->use_alt_functions) { 5969 if (!spec->use_alt_functions) {
5970 info = snd_hda_codec_pcm_new(codec, "CA0132 Analog Mic-In2"); 5970 info = snd_hda_codec_pcm_new(codec, "CA0132 Analog Mic-In2");
5971 if (!info) 5971 if (!info)
5972 return -ENOMEM; 5972 return -ENOMEM;