diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2010-07-16 06:51:06 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-07-17 14:45:56 -0400 |
commit | 3c2ef841c0e27f37923ed15dc5d744cd6ba704ae (patch) | |
tree | cce8bde5c98f4334c9bb55924a061398949c8305 /sound/soc/sh/fsi-ak4642.c | |
parent | d9478374106741d539d6b002e5e747d1ca9e4032 (diff) |
ASoC: fsi: Add specified ID for soc-audio
Specified ID is necessary, when some codecs are used with FSI.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/sh/fsi-ak4642.c')
-rw-r--r-- | sound/soc/sh/fsi-ak4642.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/sh/fsi-ak4642.c b/sound/soc/sh/fsi-ak4642.c index 2871a200160c..dad575a22622 100644 --- a/sound/soc/sh/fsi-ak4642.c +++ b/sound/soc/sh/fsi-ak4642.c | |||
@@ -29,7 +29,7 @@ static int fsi_ak4642_dai_init(struct snd_soc_codec *codec) | |||
29 | static struct snd_soc_dai_link fsi_dai_link = { | 29 | static struct snd_soc_dai_link fsi_dai_link = { |
30 | .name = "AK4642", | 30 | .name = "AK4642", |
31 | .stream_name = "AK4642", | 31 | .stream_name = "AK4642", |
32 | .cpu_dai = &fsi_soc_dai[0], /* fsi */ | 32 | .cpu_dai = &fsi_soc_dai[FSI_PORT_A], |
33 | .codec_dai = &ak4642_dai, | 33 | .codec_dai = &ak4642_dai, |
34 | .init = fsi_ak4642_dai_init, | 34 | .init = fsi_ak4642_dai_init, |
35 | .ops = NULL, | 35 | .ops = NULL, |
@@ -53,7 +53,7 @@ static int __init fsi_ak4642_init(void) | |||
53 | { | 53 | { |
54 | int ret = -ENOMEM; | 54 | int ret = -ENOMEM; |
55 | 55 | ||
56 | fsi_snd_device = platform_device_alloc("soc-audio", -1); | 56 | fsi_snd_device = platform_device_alloc("soc-audio", FSI_PORT_A); |
57 | if (!fsi_snd_device) | 57 | if (!fsi_snd_device) |
58 | goto out; | 58 | goto out; |
59 | 59 | ||