forked from Minki/linux
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:
parent
8e4a0ef17f
commit
9801345cd8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user