diff options
author | Jiaxin Yu <jiaxin.yu@mediatek.com> | 2019-05-21 11:29:37 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-05-21 20:58:20 +0200 |
commit | e355d3de196fe08e4de99bc0521c25a36c903b1b (patch) | |
tree | b5a11278eafebecebae5859ab95b2f278ac3548c /sound/soc/mediatek | |
parent | ASoC: cs42xx8: add reset-gpios in binding document (diff) | |
download | linux-e355d3de196fe08e4de99bc0521c25a36c903b1b.tar.xz linux-e355d3de196fe08e4de99bc0521c25a36c903b1b.zip |
ASoC: Mediatek: MT8183: fix compile error
mtk_regmap_update_bits() has been changed from four
parameters to five parameters.
Fixes: 1628fc3f4771 ("ASoC: Mediatek: MT8183: add memory interface data align")
Signed-off-by: Jiaxin Yu <jiaxin.yu@mediatek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/mediatek')
-rw-r--r-- | sound/soc/mediatek/common/mtk-afe-fe-dai.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/mediatek/common/mtk-afe-fe-dai.c b/sound/soc/mediatek/common/mtk-afe-fe-dai.c index 19048c3dc324..d16563408465 100644 --- a/sound/soc/mediatek/common/mtk-afe-fe-dai.c +++ b/sound/soc/mediatek/common/mtk-afe-fe-dai.c @@ -266,8 +266,7 @@ int mtk_afe_fe_prepare(struct snd_pcm_substream *substream, 1, hd_audio, memif->data->hd_shift); mtk_regmap_update_bits(afe->regmap, memif->data->hd_align_reg, - memif->data->hd_align_mshift, - hd_align ? memif->data->hd_align_mshift : 0); + 1, hd_align, memif->data->hd_align_mshift); return 0; } |