ALSA: hda - Take internal mic as Front Mic
authorKailang Yang <kailang@realtek.com>
Fri, 19 Mar 2010 10:14:36 +0000 (11:14 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 19 Mar 2010 10:14:36 +0000 (11:14 +0100)
commit6ff86a3f33e84c430aeb8ff3b7f68b1c052ec1e9
tree76c64be29881d0ae08bc7c31c229378be96ae634
parent01da47059ab54544a508b217598fb0e73b73e7a8
ALSA: hda - Take internal mic as Front Mic

Add new check for MIC. Do the internal DMIC as the Front MIC.
It could solve the default record source index issue.

[Fix the check properly using the bitmask by tiwai]

Signed-off-by: Kailang Yang <kailang@realtek.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c