summaryrefslogtreecommitdiffstats
path: root/sound/soc/sh/fsi-da7210.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2010-07-16 12:51:06 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-07-17 20:45:56 +0200
commit3c2ef841c0e27f37923ed15dc5d744cd6ba704ae (patch)
treecce8bde5c98f4334c9bb55924a061398949c8305 /sound/soc/sh/fsi-da7210.c
parentMerge branch 'for-2.6.35' into for-2.6.36 (diff)
downloadlinux-3c2ef841c0e27f37923ed15dc5d744cd6ba704ae.tar.xz
linux-3c2ef841c0e27f37923ed15dc5d744cd6ba704ae.zip
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-da7210.c')
-rw-r--r--sound/soc/sh/fsi-da7210.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/sh/fsi-da7210.c b/sound/soc/sh/fsi-da7210.c
index 4d4fd777b45a..121bbb07bb03 100644
--- a/sound/soc/sh/fsi-da7210.c
+++ b/sound/soc/sh/fsi-da7210.c
@@ -24,7 +24,7 @@ static int fsi_da7210_init(struct snd_soc_codec *codec)
static struct snd_soc_dai_link fsi_da7210_dai = {
.name = "DA7210",
.stream_name = "DA7210",
- .cpu_dai = &fsi_soc_dai[1], /* FSI B */
+ .cpu_dai = &fsi_soc_dai[FSI_PORT_B],
.codec_dai = &da7210_dai,
.init = fsi_da7210_init,
};
@@ -47,7 +47,7 @@ static int __init fsi_da7210_sound_init(void)
{
int ret;
- fsi_da7210_snd_device = platform_device_alloc("soc-audio", -1);
+ fsi_da7210_snd_device = platform_device_alloc("soc-audio", FSI_PORT_B);
if (!fsi_da7210_snd_device)
return -ENOMEM;