summaryrefslogtreecommitdiffstats
path: root/kernel/sound/soc/davinci/davinci-mcasp.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sound/soc/davinci/davinci-mcasp.h')
-rw-r--r--kernel/sound/soc/davinci/davinci-mcasp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/sound/soc/davinci/davinci-mcasp.h b/kernel/sound/soc/davinci/davinci-mcasp.h
index 79dc51118..a3be108a8 100644
--- a/kernel/sound/soc/davinci/davinci-mcasp.h
+++ b/kernel/sound/soc/davinci/davinci-mcasp.h
@@ -215,7 +215,10 @@
* DAVINCI_MCASP_XRSRCTL_BASE_REG - Serializer Control Register Bits
*/
#define MODE(val) (val)
-#define DISMOD (val)(val<<2)
+#define DISMOD_3STATE (0x0)
+#define DISMOD_LOW (0x2 << 2)
+#define DISMOD_HIGH (0x3 << 2)
+#define DISMOD_MASK DISMOD_HIGH
#define TXSTATE BIT(4)
#define RXSTATE BIT(5)
#define SRMOD_MASK 3