Commit e355d3de authored by Jiaxin Yu's avatar Jiaxin Yu Committed by Mark Brown

ASoC: Mediatek: MT8183: fix compile error

mtk_regmap_update_bits() has been changed from four
parameters to five parameters.

Fixes: 1628fc3f ("ASoC: Mediatek: MT8183: add memory interface data align")
Signed-off-by: default avatarJiaxin Yu <jiaxin.yu@mediatek.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 90fdbe8a
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment