diff options
author | Maruthi Srinivas Bayyavarapu <Maruthi.Bayyavarapu@amd.com> | 2015-12-04 23:40:32 (GMT) |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-12-07 19:52:02 (GMT) |
commit | e164835a0270cc01c93794536027cc70cd00d0ff (patch) | |
tree | 013e6b1801609cad415e69c20ed3988967d0de99 /include/sound/designware_i2s.h | |
parent | f48303122d2fd94b719e546cf8a39d412c7eee69 (diff) | |
download | linux-e164835a0270cc01c93794536027cc70cd00d0ff.tar.xz |
ASoC: dwc: add quirk for different register offset
DWC in ACP 2.x IP has different offsets for I2S_COMP_PARAM_* registers.
Added a quirk to support the same.
Signed-off-by: Maruthi Bayyavarapu <maruthi.bayyavarapu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@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.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sound/designware_i2s.h b/include/sound/designware_i2s.h index 8966ba7..e0bb458 100644 --- a/include/sound/designware_i2s.h +++ b/include/sound/designware_i2s.h @@ -45,6 +45,11 @@ struct i2s_platform_data { u32 snd_fmts; u32 snd_rates; + #define DW_I2S_QUIRK_COMP_REG_OFFSET (1 << 0) + unsigned int quirks; + unsigned int i2s_reg_comp1; + unsigned int i2s_reg_comp2; + void *play_dma_data; void *capture_dma_data; bool (*filter)(struct dma_chan *chan, void *slave); |