Skip to content

Commit 0ac74e3

Browse files
committed
ASoC: SOF: nocodec: fix card prefix
The "sof-" prefix is added by the code, don't add it to the card name. This helps make sure the card is named "sof-nocodec" instead of "sof-sof-nocodec", e.g. root@ubilinux4:~# aplay -l **** List of PLAYBACK Hardware Devices **** card 0: sofnocodec [sof-nocodec], device 0: Port0 (*) [] Subdevices: 1/1 Subdevice #0: subdevice #0 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
1 parent 8f42002 commit 0ac74e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/sof/nocodec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include "sof-priv.h"
2424

2525
static struct snd_soc_card sof_nocodec_card = {
26-
.name = "sof-nocodec",
26+
.name = "nocodec", /* the sof- prefix is added by the core */
2727
};
2828

2929
int sof_nocodec_setup(struct device *dev,

0 commit comments

Comments
 (0)