Commit 505b04e0 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

ASoC: sh: fsi-ak4642: fixup snd_soc_card name

it shouldn't contain space letters and
special letters like parentheses.

aplay will be "Segmentation fault" without this patch.
special thanks to Takashi.
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: default avatarLiam Girdwood <lrg@ti.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 18361bbe
...@@ -97,7 +97,7 @@ static int fsi_ak4642_remove(struct platform_device *pdev) ...@@ -97,7 +97,7 @@ static int fsi_ak4642_remove(struct platform_device *pdev)
static struct fsi_ak4642_data fsi_a_ak4642 = { static struct fsi_ak4642_data fsi_a_ak4642 = {
.name = "AK4642", .name = "AK4642",
.card = "FSIA (AK4642)", .card = "FSIA-AK4642",
.cpu_dai = "fsia-dai", .cpu_dai = "fsia-dai",
.codec = "ak4642-codec.0-0012", .codec = "ak4642-codec.0-0012",
.platform = "sh_fsi.0", .platform = "sh_fsi.0",
...@@ -106,7 +106,7 @@ static struct fsi_ak4642_data fsi_a_ak4642 = { ...@@ -106,7 +106,7 @@ static struct fsi_ak4642_data fsi_a_ak4642 = {
static struct fsi_ak4642_data fsi_b_ak4642 = { static struct fsi_ak4642_data fsi_b_ak4642 = {
.name = "AK4642", .name = "AK4642",
.card = "FSIB (AK4642)", .card = "FSIB-AK4642",
.cpu_dai = "fsib-dai", .cpu_dai = "fsib-dai",
.codec = "ak4642-codec.0-0012", .codec = "ak4642-codec.0-0012",
.platform = "sh_fsi.0", .platform = "sh_fsi.0",
...@@ -115,7 +115,7 @@ static struct fsi_ak4642_data fsi_b_ak4642 = { ...@@ -115,7 +115,7 @@ static struct fsi_ak4642_data fsi_b_ak4642 = {
static struct fsi_ak4642_data fsi_a_ak4643 = { static struct fsi_ak4642_data fsi_a_ak4643 = {
.name = "AK4643", .name = "AK4643",
.card = "FSIA (AK4643)", .card = "FSIA-AK4643",
.cpu_dai = "fsia-dai", .cpu_dai = "fsia-dai",
.codec = "ak4642-codec.0-0013", .codec = "ak4642-codec.0-0013",
.platform = "sh_fsi.0", .platform = "sh_fsi.0",
...@@ -124,7 +124,7 @@ static struct fsi_ak4642_data fsi_a_ak4643 = { ...@@ -124,7 +124,7 @@ static struct fsi_ak4642_data fsi_a_ak4643 = {
static struct fsi_ak4642_data fsi_b_ak4643 = { static struct fsi_ak4642_data fsi_b_ak4643 = {
.name = "AK4643", .name = "AK4643",
.card = "FSIB (AK4643)", .card = "FSIB-AK4643",
.cpu_dai = "fsib-dai", .cpu_dai = "fsib-dai",
.codec = "ak4642-codec.0-0013", .codec = "ak4642-codec.0-0013",
.platform = "sh_fsi.0", .platform = "sh_fsi.0",
...@@ -133,7 +133,7 @@ static struct fsi_ak4642_data fsi_b_ak4643 = { ...@@ -133,7 +133,7 @@ static struct fsi_ak4642_data fsi_b_ak4643 = {
static struct fsi_ak4642_data fsi2_a_ak4642 = { static struct fsi_ak4642_data fsi2_a_ak4642 = {
.name = "AK4642", .name = "AK4642",
.card = "FSI2A (AK4642)", .card = "FSI2A-AK4642",
.cpu_dai = "fsia-dai", .cpu_dai = "fsia-dai",
.codec = "ak4642-codec.0-0012", .codec = "ak4642-codec.0-0012",
.platform = "sh_fsi2", .platform = "sh_fsi2",
...@@ -142,7 +142,7 @@ static struct fsi_ak4642_data fsi2_a_ak4642 = { ...@@ -142,7 +142,7 @@ static struct fsi_ak4642_data fsi2_a_ak4642 = {
static struct fsi_ak4642_data fsi2_b_ak4642 = { static struct fsi_ak4642_data fsi2_b_ak4642 = {
.name = "AK4642", .name = "AK4642",
.card = "FSI2B (AK4642)", .card = "FSI2B-AK4642",
.cpu_dai = "fsib-dai", .cpu_dai = "fsib-dai",
.codec = "ak4642-codec.0-0012", .codec = "ak4642-codec.0-0012",
.platform = "sh_fsi2", .platform = "sh_fsi2",
...@@ -151,7 +151,7 @@ static struct fsi_ak4642_data fsi2_b_ak4642 = { ...@@ -151,7 +151,7 @@ static struct fsi_ak4642_data fsi2_b_ak4642 = {
static struct fsi_ak4642_data fsi2_a_ak4643 = { static struct fsi_ak4642_data fsi2_a_ak4643 = {
.name = "AK4643", .name = "AK4643",
.card = "FSI2A (AK4643)", .card = "FSI2A-AK4643",
.cpu_dai = "fsia-dai", .cpu_dai = "fsia-dai",
.codec = "ak4642-codec.0-0013", .codec = "ak4642-codec.0-0013",
.platform = "sh_fsi2", .platform = "sh_fsi2",
...@@ -160,7 +160,7 @@ static struct fsi_ak4642_data fsi2_a_ak4643 = { ...@@ -160,7 +160,7 @@ static struct fsi_ak4642_data fsi2_a_ak4643 = {
static struct fsi_ak4642_data fsi2_b_ak4643 = { static struct fsi_ak4642_data fsi2_b_ak4643 = {
.name = "AK4643", .name = "AK4643",
.card = "FSI2B (AK4643)", .card = "FSI2B-AK4643",
.cpu_dai = "fsib-dai", .cpu_dai = "fsib-dai",
.codec = "ak4642-codec.0-0013", .codec = "ak4642-codec.0-0013",
.platform = "sh_fsi2", .platform = "sh_fsi2",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment