ALSA: usb - Remove trailing spaces from USB card name strings
authorTakashi Iwai <tiwai@suse.de>
Mon, 21 Mar 2011 11:00:00 +0000 (12:00 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 21 Mar 2011 11:32:44 +0000 (12:32 +0100)
Some USB devices give trailing spaces in strings returned from
usb_string().  This confuses the automatic card-id creation, resulting
always in "default".
This patch fixes the behavior by removing trailing spaces.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found