From: Daniel Mack Date: Tue, 2 Jun 2009 10:36:39 +0000 (+0200) Subject: ALSA: snd_usb_caiaq: give better shortname X-Git-Tag: v2.6.31-rc1~363^2~26^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bafeee5b1f8d32cbf791c322b40a6fa91d8ccf7a;p=pandora-kernel.git ALSA: snd_usb_caiaq: give better shortname If not passed as module option, provide an own card ID with the newly introduced snd_set_card_id() call. This will prevent ALSA from calling choose_default_name() which only takes the last part of a name containing whitespaces. This for example caused 'Audio 4 DJ' to be shortened to 'DJ', which was not very descriptive. The implementation now takes the short name and removes all whitespaces from it which is much nicer. Signed-off-by: Daniel Mack Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed