Commit 095687c4 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

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: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 4726a57b
...@@ -55,12 +55,12 @@ ...@@ -55,12 +55,12 @@
#define SH_FSI_GET_IFMT(x) ((x >> 8) & SH_FSI_FMT_MASK) #define SH_FSI_GET_IFMT(x) ((x >> 8) & SH_FSI_FMT_MASK)
#define SH_FSI_GET_OFMT(x) ((x >> 0) & SH_FSI_FMT_MASK) #define SH_FSI_GET_OFMT(x) ((x >> 0) & SH_FSI_FMT_MASK)
#define SH_FSI_FMT_MONO (1 << 0) #define SH_FSI_FMT_MONO 0
#define SH_FSI_FMT_MONO_DELAY (1 << 1) #define SH_FSI_FMT_MONO_DELAY 1
#define SH_FSI_FMT_PCM (1 << 2) #define SH_FSI_FMT_PCM 2
#define SH_FSI_FMT_I2S (1 << 3) #define SH_FSI_FMT_I2S 3
#define SH_FSI_FMT_TDM (1 << 4) #define SH_FSI_FMT_TDM 4
#define SH_FSI_FMT_TDM_DELAY (1 << 5) #define SH_FSI_FMT_TDM_DELAY 5
#define SH_FSI_IFMT_TDM_CH(x) \ #define SH_FSI_IFMT_TDM_CH(x) \
(SH_FSI_IFMT(TDM) | SH_FSI_SET_CH_I(x)) (SH_FSI_IFMT(TDM) | SH_FSI_SET_CH_I(x))
......
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