diff options
-rw-r--r-- | sound/pci/hda/patch_ca0132.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index 0aa72ee38d03..46ecdbb9053f 100644 --- a/sound/pci/hda/patch_ca0132.c +++ b/sound/pci/hda/patch_ca0132.c | |||
@@ -2768,9 +2768,7 @@ static int ca0132_capture_pcm_prepare(struct hda_pcm_stream *hinfo, | |||
2768 | unsigned int format, | 2768 | unsigned int format, |
2769 | struct snd_pcm_substream *substream) | 2769 | struct snd_pcm_substream *substream) |
2770 | { | 2770 | { |
2771 | struct ca0132_spec *spec = codec->spec; | 2771 | snd_hda_codec_setup_stream(codec, hinfo->nid, |
2772 | |||
2773 | snd_hda_codec_setup_stream(codec, spec->adcs[substream->number], | ||
2774 | stream_tag, 0, format); | 2772 | stream_tag, 0, format); |
2775 | 2773 | ||
2776 | return 0; | 2774 | return 0; |