1. 27 Sep, 2018 4 commits
    • Arnd Bergmann's avatar
      ASoC: wm9712: fix unused variable warning · 18380dcc
      Arnd Bergmann authored
      The 'ret' variable is now only used in an #ifdef, and causes a
      warning if it is declared outside of that block:
      
      sound/soc/codecs/wm9712.c: In function 'wm9712_soc_probe':
      sound/soc/codecs/wm9712.c:641:6: error: unused variable 'ret' [-Werror=unused-variable]
      
      Fixes: 2ed1a8e0 ("ASoC: wm9712: add ac97 new bus support")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      18380dcc
    • Arnd Bergmann's avatar
      ASoC: atmel: add SND_SOC_I2C_AND_SPI dependency · 53c156ab
      Arnd Bergmann authored
      Selecting SND_SOC_WM8731 is only allowed when all its dependencies
      are already there:
      
      WARNING: unmet direct dependencies detected for SND_SOC_WM8731
        Depends on [m]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && SND_SOC_I2C_AND_SPI [=m]
        Selected by [y]:
        - SND_SOC_MIKROE_PROTO [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && SND_ATMEL_SOC [=y] && OF [=y]
        Selected by [m]:
        - SND_AT91_SOC_SAM9X5_WM8731 [=m] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && SND_ATMEL_SOC [=y] && (ARCH_AT91 [=y] || COMPILE_TEST [=y]) && ATMEL_SSC [=y] && SND_SOC_I2C_AND_SPI [=m]
        - SND_SOC_ALL_CODECS [=m] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && COMPILE_TEST [=y] && SND_SOC_I2C_AND_SPI [=m]
      
      Fixes: a45f8853 ("ASoC: Add driver for PROTO Audio CODEC (with a WM8731)")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Reviewed-by: default avatarCodrin Ciubotariu <codrin.ciubotariu@microchip.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      53c156ab
    • Arnd Bergmann's avatar
      ASoC: pxa: avoid AC97_BUS build warning · bec5ecdf
      Arnd Bergmann authored
      Selecting AC97_BUS_NEW from SND_PXA2XX_SOC_AC97 leads to a Kconfig
      warning if any other driver selects AC97_BUS:
      
      WARNING: unmet direct dependencies detected for AC97_BUS_COMPAT
        Depends on [n]: SOUND [=y] && !UML && SND [=y] && AC97_BUS_NEW [=y] && !AC97_BUS [=y]
        Selected by [y]:
        - SND_SOC_WM9713 [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && AC97_BUS_NEW [=y]
      
      I don't know if that combination is supposed to work.
      Assuming it is not, this adds a dependency on all users
      for PXA to avoids the combination.
      
      Fixes: 1c8bc7b3 ("ASoC: pxa: switch to new ac97 bus support")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      bec5ecdf
    • Matthias Kaehlcke's avatar
      ASoC: soc-utils: Rename dummy_dma_ops to snd_dummy_dma_ops · 42cfb412
      Matthias Kaehlcke authored
      The symbols 'dummy_dma_ops' is declared with different data types by
      sound/soc/soc-utils.c and arch/arm64/include/asm/dma-mapping.h. This
      leads to conflicts when soc-utils.c (indirectly) includes dma-mapping.h:
      
      sound/soc/soc-utils.c:282:33: error: conflicting types for 'dummy_dma_ops'
        static const struct snd_pcm_ops dummy_dma_ops = {
                                        ^
      ...
      arch/arm64/include/asm/dma-mapping.h:27:33: note: previous declaration of 'dummy_dma_ops' was here
        extern const struct dma_map_ops dummy_dma_ops;
                                        ^
      
      Rename the symbol in soc-utils.c to 'snd_dummy_dma_ops' to avoid the
      conflict.
      Signed-off-by: default avatarMatthias Kaehlcke <mka@chromium.org>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      42cfb412
  2. 25 Sep, 2018 3 commits
  3. 21 Sep, 2018 5 commits
  4. 20 Sep, 2018 10 commits
  5. 19 Sep, 2018 1 commit
  6. 18 Sep, 2018 8 commits
  7. 17 Sep, 2018 6 commits
  8. 12 Sep, 2018 3 commits