[PATCH 0/2] Fix UBSAN warning in mtk-afe-fe-dai

From: Pi-Hsun Shih
Date: Wed Mar 06 2019 - 04:09:45 EST


This fix a UBSAN warning on mediatek mtk-afe-fe-dai, and also clean up
code to prevent new config introduce the UBSAN warning again.

Pi-Hsun Shih (2):
ASoC: mediatek: Fix UBSAN warning.
ASoC: mediatek: Reduce repititive code on mtk_regmap_update_bits.

sound/soc/mediatek/common/mtk-afe-fe-dai.c | 51 +++++++++-------------
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 13 ------
sound/soc/mediatek/mt6797/mt6797-afe-pcm.c | 16 -------
sound/soc/mediatek/mt8173/mt8173-afe-pcm.c | 16 -------
sound/soc/mediatek/mt8183/mt8183-afe-pcm.c | 20 ---------
5 files changed, 20 insertions(+), 96 deletions(-)

--
2.21.0.352.gf09ad66450-goog