ASoC: qcom: lpass: Use regmap_field for i2sctl and dmactl registers
authorRohit kumar <rohitkr@codeaurora.org>
Fri, 14 Aug 2020 10:53:01 +0000 (16:23 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 17 Aug 2020 13:39:29 +0000 (14:39 +0100)
commitb5022a36d28f6a99c1a57f54246e8b566cf094d5
treeda5450fe62bba1d1b788fd727c4e79c1a714c2a8
parent5fd188215d4eb52703600d8986b22311099a5940
ASoC: qcom: lpass: Use regmap_field for i2sctl and dmactl registers

I2SCTL and DMACTL registers has different bits alignment for newer
LPASS variants of SC7180 soc. Use REG_FIELD_ID() to define the
reg_fields in platform specific file and removed shifts and mask
macros for such registers from header file.

Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
Link: https://lore.kernel.org/r/1597402388-14112-6-git-send-email-rohitkr@codeaurora.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/lpass-apq8016.c
sound/soc/qcom/lpass-cpu.c
sound/soc/qcom/lpass-ipq806x.c
sound/soc/qcom/lpass-lpaif-reg.h
sound/soc/qcom/lpass-platform.c
sound/soc/qcom/lpass.h