summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorChristian Gromm <christian.gromm@microchip.com>2018-12-17 15:10:16 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-17 16:10:20 +0100
commite6861b916e7d09b5692fd907e19d6f87e050c9b1 (patch)
treec350cd49f07cb3423ce144a474ab5c38fa767fc1 /drivers/staging
parent6cebb201963677795e8828c858c2e1502ba39b55 (diff)
staging: most: sound: remove channel number from ALSA card's long name
Adding the channel number to the name of the sound card is wrong, as the card does not represent a single streaming channel of the MOST device. Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/most/sound/sound.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/most/sound/sound.c b/drivers/staging/most/sound/sound.c
index c6986310518e..29a4c72e6357 100644
--- a/drivers/staging/most/sound/sound.c
+++ b/drivers/staging/most/sound/sound.c
@@ -631,8 +631,7 @@ static int audio_probe_channel(struct most_interface *iface, int channel_id,
snprintf(adpt->card->shortname, sizeof(adpt->card->shortname),
"Microchip INIC");
snprintf(adpt->card->longname, sizeof(adpt->card->longname),
- "%s at %s, ch %d", adpt->card->shortname, iface->description,
- channel_id);
+ "%s at %s", adpt->card->shortname, iface->description);
skip_adpt_alloc:
if (get_channel(iface, channel_id)) {
pr_err("channel (%s:%d) is already linked\n",