1. 31 May, 2018 2 commits
    • Arnd Bergmann's avatar
      ASoC: mediatek: export mtk-afe symbols as needed · 39f56b75
      Arnd Bergmann authored
      The new mt6797-afe driver uses some functions in a common file, which
      works for a built-in driver but fails for a loadable module:
      
      ERROR: "mtk_afe_pcm_free" [sound/soc/mediatek/mt6797/snd-soc-mt6797-afe.ko] undefined!
      ERROR: "mtk_afe_add_sub_dai_control" [sound/soc/mediatek/mt6797/snd-soc-mt6797-afe.ko] undefined!
      ERROR: "mtk_afe_pcm_new" [sound/soc/mediatek/mt6797/snd-soc-mt6797-afe.ko] undefined!
      ERROR: "mtk_afe_combine_sub_dai" [sound/soc/mediatek/mt6797/snd-soc-mt6797-afe.ko] undefined!
      ERROR: "mtk_afe_pcm_ops" [sound/soc/mediatek/mt6797/snd-soc-mt6797-afe.ko] undefined!
      
      This exports the five symbols above for modules.
      
      Fixes: b3c702f5 ("ASoC: mt6797: combine DAI to register component")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      39f56b75
    • Arnd Bergmann's avatar
      ASoC: codecs: PCM1789: include gpio/consumer.h · 3217004a
      Arnd Bergmann authored
      When CONFIG_GPIOLIB is disabled, this codec fails to build
      because gpio/consumer.h is not included implicitly.
      
      sound/soc/codecs/pcm1789.c: In function 'pcm1789_common_init':
      sound/soc/codecs/pcm1789.c:247:19: error: implicit declaration of function 'devm_gpiod_get_optional'; did you mean 'devm_gpio_request_one'? [-Werror=implicit-function-declaration]
        pcm1789->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH);
                         ^~~~~~~~~~~~~~~~~~~~~~~
      
      Fixes: 4ae340d1 ("ASoC: codecs: Add support for PCM1789")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      3217004a
  2. 30 May, 2018 3 commits
  3. 29 May, 2018 12 commits
  4. 25 May, 2018 4 commits
  5. 23 May, 2018 2 commits
  6. 22 May, 2018 6 commits
  7. 21 May, 2018 11 commits