]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: most: include vendor in audio card's shortname
authorChristian Gromm <christian.gromm@microchip.com>
Mon, 28 Sep 2015 15:18:48 +0000 (17:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:18:51 +0000 (03:18 +0200)
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>
drivers/staging/most/aim-sound/sound.c

index 88221f03032527a1f713a96a279449f9a04f1355..c9b62c3331367d11e8cd57db11de4d9481560e0a 100644 (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);