[PATCH 0/7] ASoC: mt8365: Fix -Werror builds

Mark Brown broonie at kernel.org
Fri Sep 6 17:53:25 PDT 2024


Nathan reported that the newly added mt8365 drivers were causing a
number of warnings which break -Werror builds, these were only visible
on arm64 since the drivers did not have COMPILE_TEST enabled.  Fix this
and some other minor stuff I noticed while doing so.

Signed-off-by: Mark Brown <broonie at kernel.org>
---
Mark Brown (7):
      ASoC: mt8365: Open code BIT() to avoid spurious warnings
      ASoC: mt8365: Remove spurious unsigned long casts
      ASoC: mt8365: Remove unused prototype for mt8365_afe_clk_group_48k()
      ASoC: mt8365: Make non-exported functions static
      ASoC: mt8365: Remove unused variables
      ASoC: mt8365: Remove unused DMIC IIR coefficient configuration
      ASoC: mt8365: Allow build coverage

 sound/soc/mediatek/Kconfig                    |   2 +-
 sound/soc/mediatek/mt8365/mt8365-afe-clk.c    |   4 +-
 sound/soc/mediatek/mt8365/mt8365-afe-common.h |   1 -
 sound/soc/mediatek/mt8365/mt8365-afe-pcm.c    |  13 +-
 sound/soc/mediatek/mt8365/mt8365-dai-dmic.c   |  30 ----
 sound/soc/mediatek/mt8365/mt8365-dai-i2s.c    |   6 +-
 sound/soc/mediatek/mt8365/mt8365-mt6357.c     |   3 +-
 sound/soc/mediatek/mt8365/mt8365-reg.h        | 214 +++++++++++++-------------
 8 files changed, 120 insertions(+), 153 deletions(-)
---
base-commit: 813751eaec93bfeb6236aaed99607a44c01b3110
change-id: 20240906-asoc-fix-mt8365-build-974117b12f0a

Best regards,
-- 
Mark Brown <broonie at kernel.org>




More information about the Linux-mediatek mailing list