PKGBUILDs/core/linux-cubox-headless/kirkwood-spdif-name.patch

32 lines
949 B
Diff
Raw Normal View History

--- a/sound/soc/kirkwood/kirkwood-spdif.c.orig 2012-11-25 12:55:11.314023286 +0200
+++ b/sound/soc/kirkwood/kirkwood-spdif.c 2012-11-25 12:55:37.494024113 +0200
@@ -72,8 +72,8 @@
static struct snd_soc_dai_link kirkwood_spdif_dai0[] = {
{
- .name = "S/PDIF0",
- .stream_name = "S/PDIF0 PCM Playback",
+ .name = "SPDIF0",
+ .stream_name = "SPDIF0 PCM Playback",
.platform_name = "kirkwood-pcm-audio.0",
.cpu_dai_name = "kirkwood-i2s.0",
.codec_dai_name = "dit-hifi",
@@ -84,7 +84,7 @@
static struct snd_soc_dai_link kirkwood_spdif_dai1[] = {
{
- .name = "S/PDIF1",
+ .name = "SPDIF1",
.stream_name = "IEC958 Playback",
.platform_name = "kirkwood-pcm-audio.1",
.cpu_dai_name = "kirkwood-i2s.1",
@@ -135,7 +135,7 @@
goto kirkwood_spdif_err_card_alloc;
}
- card->name = "Kirkwood S/PDIF";
+ card->name = "Kirkwood SPDIF";
card->owner = THIS_MODULE;
if (pdev->id == 0)
card->dai_link = kirkwood_spdif_dai0;