aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_sigmatel.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-11-02 21:30:51 +0100
committerTakashi Iwai <tiwai@suse.de>2011-11-02 21:30:51 +0100
commit1fa1757366783fb52e6e85c2d735db49b818d382 (patch)
treea52f76fa88814741ca293837c9ff8f6e96a4a539 /sound/pci/hda/patch_sigmatel.c
parentad5d8755116b431f0709c745ee17cb567a478d43 (diff)
ALSA: hda/realtek - Don't create alt-stream for capture when unnecessary
When the driver finds multiple ADCs, it tries to create an alternative capture PCM stream. However, these secondary ADCs might be useless or in uncontrolled paths in some cases, e.g. when auto-mic or dynamic ADC-switching is enabled. Also, when only a single capture source is available, the multi-streams don't make sense, too. With this patch, the driver checks such condition and skips the alt stream appropriately. Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_sigmatel.c')
0 files changed, 0 insertions, 0 deletions