From: Takashi Iwai Date: Thu, 20 Dec 2012 15:58:39 +0000 (+0100) Subject: ALSA: hda - Fix PCM name string for generic parser X-Git-Tag: v3.9-rc1~129^2~70^2~119 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f873e536b6354214f80776382c3779b75e9e145f;p=pandora-kernel.git 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 --- Reading git-diff-tree failed