Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3ffc1222 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: usb - Remove trailing spaces from USB card name strings



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: default avatarTakashi Iwai <tiwai@suse.de>
parent 977a6ef3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment