Skip to content
  1. Apr 27, 2021
  2. Apr 26, 2021
  3. Apr 24, 2021
  4. Apr 23, 2021
  5. Apr 22, 2021
    • Arnd Bergmann's avatar
      ASoC: tegra: mark runtime-pm functions as __maybe_unused · ccd4cc3e
      Arnd Bergmann authored
      A reorganization of the driver source led to two of them causing
      a compile time warning in some configurations:
      
      tegra/tegra20_spdif.c:36:12: error: 'tegra20_spdif_runtime_resume' defined but not used [-Werror=unused-function]
         36 | static int tegra20_spdif_runtime_resume(struct device *dev)
            |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      tegra/tegra20_spdif.c:27:12: error: 'tegra20_spdif_runtime_suspend' defined but not used [-Werror=unused-function]
         27 | static int tegra20_spdif_runtime_suspend(struct device *dev)
            |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      tegra/tegra30_ahub.c:64:12: error: 'tegra30_ahub_runtime_resume' defined but not used [-Werror=unused-function]
         64 | static int tegra30_ahub_runtime_resume(struct device *dev)
            |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      tegra/tegra30_ahub.c:43:12: error: 'tegra30_ahub_runtime_suspend' defined but not used [-Werror=unused-function]
         43 | static int tegra30_ahub_runtime_suspend(struct device *dev)
            |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      Mark these functions as __maybe_unused to avoid this kind of warning.
      
      Fixes: b5571449 ("ASoC: tegra30: ahub: Remove handing of disabled runtime PM")
      Fixes: c53b396f ("ASoC: tegra20: spdif: Remove handing of disabled runtime PM")
      Fixes: 80ec4a4c ("ASoC: tegra20: i2s: Remove handing of disabled runtime PM")
      Fixes: b5f6f781
      
       ("ASoC: tegra30: i2s: Remove handing of disabled runtime PM")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Link: https://lore.kernel.org/r/20210422133418.1757893-1-arnd@kernel.org
      
      
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      ccd4cc3e
    • Niklas Carlsson's avatar
      ASoC: adau17x1: Avoid overwriting CHPF · a89f3a93
      Niklas Carlsson authored
      
      
      Configuring number of channels per LRCLK frame by using e.g.
      snd_soc_dai_set_tdm_slot before configuring DAI format was being
      overwritten by the latter due to a regmap_write which would write over
      the whole register.
      
      Signed-off-by: default avatarNiklas Carlsson <niklasc@axis.com>
      Link: https://lore.kernel.org/r/20210422130226.15201-1-Niklas.Carlsson@axis.com
      
      
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      a89f3a93
  6. Apr 21, 2021
  7. Apr 20, 2021