aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/designware_i2s.h
diff options
context:
space:
mode:
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>2017-06-23 12:35:00 -0400
committerMark Brown <broonie@kernel.org>2017-06-28 19:01:12 +0100
commit286345eef97ea8f4ea223410f025ed35f265e506 (patch)
treecac7c29004d48b900a14b3c49adaa8a7832fb39f /include/sound/designware_i2s.h
parentLinux 4.12-rc1 (diff)
downloadlinux-dev-286345eef97ea8f4ea223410f025ed35f265e506.tar.xz
linux-dev-286345eef97ea8f4ea223410f025ed35f265e506.zip
ASoC: dwc: Added a quirk DW_I2S_QUIRK_16BIT_IDX_OVERRIDE to dwc driver
Added quirk DW_I2S_QUIRK_16BIT_IDX_OVERRIDE to Designware driver. This quirk will set idx value to 1. By setting this quirk, it will override supported format as 16 bit resolution and bus width as 2 Bytes. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/designware_i2s.h')
-rw-r--r--include/sound/designware_i2s.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/designware_i2s.h b/include/sound/designware_i2s.h
index 5681855396c4..830f5caa915c 100644
--- a/include/sound/designware_i2s.h
+++ b/include/sound/designware_i2s.h
@@ -47,6 +47,7 @@ struct i2s_platform_data {
#define DW_I2S_QUIRK_COMP_REG_OFFSET (1 << 0)
#define DW_I2S_QUIRK_COMP_PARAM1 (1 << 1)
+ #define DW_I2S_QUIRK_16BIT_IDX_OVERRIDE (1 << 2)
unsigned int quirks;
unsigned int i2s_reg_comp1;
unsigned int i2s_reg_comp2;