diff options
author | Vijendar Mukunda | 2017-06-23 18:35:00 +0200 |
---|---|---|
committer | Mark Brown | 2017-06-28 20:01:12 +0200 |
commit | 286345eef97ea8f4ea223410f025ed35f265e506 (patch) | |
tree | cac7c29004d48b900a14b3c49adaa8a7832fb39f /include/sound | |
parent | Linux 4.12-rc1 (diff) | |
download | kernel-qcow2-linux-286345eef97ea8f4ea223410f025ed35f265e506.tar.gz kernel-qcow2-linux-286345eef97ea8f4ea223410f025ed35f265e506.tar.xz kernel-qcow2-linux-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')
-rw-r--r-- | include/sound/designware_i2s.h | 1 |
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; |