linux/sound/soc/sh
Kuninori Morimoto f17c13ca52 ASoC: sh: fsi: modify selection method of I2S/PCM/SPDIF format
Current format selection of FSI-codecs depended on platform information for FSI,
and chip default settings for codecs. It is not understandable/formal method.
This patch modify FSI and FSI-codecs to use snd_soc_dai_set_fmt.

But FSI can use I2S/PCM and SPDIF format today.
It can be selected to I2S/PCM by snd_soc_dai_set_fmt, but can not select SPDIF.
So, this patch change FSI platform information to have DAI/SPDIF mode.

If platform selects DAI mode (default),
FSI-codecs can select I2S/PCM by snd_soc_dai_set_fmt,
and if it is SPDIF mode, FSI become SPDIF format.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2011-01-26 11:25:47 +00:00
..
dma-sh7760.c ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
fsi-ak4642.c ASoC: sh: fsi: modify selection method of I2S/PCM/SPDIF format 2011-01-26 11:25:47 +00:00
fsi-da7210.c ASoC: sh: fsi: modify selection method of I2S/PCM/SPDIF format 2011-01-26 11:25:47 +00:00
fsi-hdmi.c ASoC: sh: fsi-hdmi: Add FSI port and HDMI selection 2011-01-25 15:15:24 +00:00
fsi.c ASoC: sh: fsi: modify selection method of I2S/PCM/SPDIF format 2011-01-26 11:25:47 +00:00
hac.c ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
Kconfig ASoC: sh: fsi: modify improper dependent 2010-12-21 23:22:47 +00:00
Makefile ASoC: fsi-codec: Add FSI - HDMI support 2010-09-01 11:18:09 +01:00
migor.c ASoC: fix migor audio build 2011-01-11 11:00:55 +00:00
sh7760-ac97.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
siu_dai.c ASoC: Do not include soc-dai.h 2010-11-22 14:04:53 +00:00
siu_pcm.c ASoC: Do not include soc-dai.h 2010-11-22 14:04:53 +00:00
siu.h ASoC: Do not include soc-dai.h 2010-11-22 14:04:53 +00:00
ssi.c ASoC: Call snd_soc_unregister_dais instead of snd_soc_unregister_dai in sh4_soc_dai_remove 2010-11-25 11:07:28 +00:00