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 <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Christian Gromm 2015-09-28 17:18:48 +02:00 committed by Greg Kroah-Hartman
parent 8e4a0ef17f
commit 9801345cd8

View File

@ -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);