From: Christian Gromm Date: Mon, 28 Sep 2015 15:18:48 +0000 (+0200) Subject: staging: most: include vendor in audio card's shortname X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9801345cd8edc2082eefed71cbd07ce2c4c51ea1;p=openwrt%2Fstaging%2Fblogic.git staging: most: include vendor in audio card's shortname This patch adds Microchip as vendor to the audio card's shortname to be displayed, when playback and capture devices are queried. Signed-off-by: Christian Gromm Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/most/aim-sound/sound.c b/drivers/staging/most/aim-sound/sound.c index 88221f030325..c9b62c333136 100644 --- a/drivers/staging/most/aim-sound/sound.c +++ b/drivers/staging/most/aim-sound/sound.c @@ -629,7 +629,7 @@ static int audio_probe_channel(struct most_interface *iface, int channel_id, channel->id = channel_id; snprintf(card->driver, sizeof(card->driver), "%s", DRIVER_NAME); - snprintf(card->shortname, sizeof(card->shortname), "MOST:%d", + snprintf(card->shortname, sizeof(card->shortname), "Microchip MOST:%d", card->number); snprintf(card->longname, sizeof(card->longname), "%s at %s, ch %d", card->shortname, iface->description, channel_id);