]> 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)
commit75170d7f982307363eb3770fbdba13ddc0eb3fe9
tree06b37d6262883bf4af2935329872d66503a1b2c6
parent08e1eb54358e5477013c645879bffa4c1e458067
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