]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix PCM name string for generic parser
authorTakashi Iwai <tiwai@suse.de>
Thu, 20 Dec 2012 15:58:39 +0000 (16:58 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 12 Jan 2013 07:34:22 +0000 (08:34 +0100)
commit31a21f31ff57572496b28cad1bec47b9d5ba6b5c
tree06b37d6262883bf4af2935329872d66503a1b2c6
parentf44b7e920701aad47a9b5293d6347814b8d4f620
ALSA: hda - Fix PCM name string for generic parser

When a PCM name string is generated from the chip name, it might
become strange like "CX20549 (Venice) Analog".  In this patch, the
parser tries to drop the invalid words like "(Venice)" in the PCM name
string.  Also, when the name string is given beforehand by the caller,
respect it and use it as is.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_generic.c