aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2010-07-13 05:13:19 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-07-13 07:35:35 -0400
commit095687c48b2e3b9f849554ab7a65e74988d50269 (patch)
treebba30f5ea57d35234f90dcb01c8c52deedd7631b /include/sound
parent4726a57b8c1ba398399fe69b56dc97c196ab4f6b (diff)
ASoC: fsi: modify format area definition on flags
There is no necessity that each bit in this area has the meaning. This patch modify it to sequence number 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 'include/sound')
-rw-r--r--include/sound/sh_fsi.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/sound/sh_fsi.h b/include/sound/sh_fsi.h
index c0227361a876..3ecdb965b890 100644
--- a/include/sound/sh_fsi.h
+++ b/include/sound/sh_fsi.h
@@ -55,12 +55,12 @@
55#define SH_FSI_GET_IFMT(x) ((x >> 8) & SH_FSI_FMT_MASK) 55#define SH_FSI_GET_IFMT(x) ((x >> 8) & SH_FSI_FMT_MASK)
56#define SH_FSI_GET_OFMT(x) ((x >> 0) & SH_FSI_FMT_MASK) 56#define SH_FSI_GET_OFMT(x) ((x >> 0) & SH_FSI_FMT_MASK)
57 57
58#define SH_FSI_FMT_MONO (1 << 0) 58#define SH_FSI_FMT_MONO 0
59#define SH_FSI_FMT_MONO_DELAY (1 << 1) 59#define SH_FSI_FMT_MONO_DELAY 1
60#define SH_FSI_FMT_PCM (1 << 2) 60#define SH_FSI_FMT_PCM 2
61#define SH_FSI_FMT_I2S (1 << 3) 61#define SH_FSI_FMT_I2S 3
62#define SH_FSI_FMT_TDM (1 << 4) 62#define SH_FSI_FMT_TDM 4
63#define SH_FSI_FMT_TDM_DELAY (1 << 5) 63#define SH_FSI_FMT_TDM_DELAY 5
64 64
65#define SH_FSI_IFMT_TDM_CH(x) \ 65#define SH_FSI_IFMT_TDM_CH(x) \
66 (SH_FSI_IFMT(TDM) | SH_FSI_SET_CH_I(x)) 66 (SH_FSI_IFMT(TDM) | SH_FSI_SET_CH_I(x))