mbox series

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

Message ID 20190306090922.117634-1-pihsun@chromium.org (mailing list archive)
Headers show
Series Fix UBSAN warning in mtk-afe-fe-dai | expand

Message

Pi-Hsun Shih March 6, 2019, 9:09 a.m. UTC
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(-)