summaryrefslogtreecommitdiff
path: root/firmware/cpia2
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2009-06-02 14:36:39 +0400
committerTakashi Iwai <tiwai@suse.de>2009-06-02 14:55:59 +0400
commitbafeee5b1f8d32cbf791c322b40a6fa91d8ccf7a (patch)
tree27bc6bb25d0f7313a4a367a5f784f512bbad16ef /firmware/cpia2
parent17db0486d73a7bc62996569cea63464daacb22a4 (diff)
downloadlinux-bafeee5b1f8d32cbf791c322b40a6fa91d8ccf7a.tar.xz
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 <daniel@caiaq.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'firmware/cpia2')
0 files changed, 0 insertions, 0 deletions