1. 27 4月, 2018 1 次提交
  2. 22 4月, 2017 1 次提交
    • A
      ASoC: mediatek: add I2C dependency for CS42XX8 · 362c5943
      Arnd Bergmann 提交于
      We should not select drivers that depend on I2C when that is disabled,
      as it results in a build error:
      
      warning: (SND_SOC_MT2701_WM8960) selects SND_SOC_WM8960 which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && I2C)
      sound/soc/codecs/wm8960.c:1469:1: error: data definition has no type or storage class [-Werror]
      sound/soc/codecs/wm8960.c:1469:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int]
      
      Fixes: 8625c1db ("ASoC: mediatek: Add mt2701-wm8960 machine driver")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NRyder Lee <ryder.lee@mediatek.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      362c5943
  3. 29 3月, 2017 1 次提交
  4. 22 2月, 2017 1 次提交
    • A
      ASoC: mediatek: add I2C dependency for CS42XX8 · 72cedf59
      Arnd Bergmann 提交于
      We should not select drivers that depend on I2C when that is disabled,
      as it results in a build error:
      
      warning: (SND_SOC_MT2701_CS42448) selects SND_SOC_CS42XX8_I2C which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && I2C)
      sound/soc/codecs/cs42xx8-i2c.c:60:1: warning: data definition has no type or storage class
       module_i2c_driver(cs42xx8_i2c_driver);
      sound/soc/codecs/cs42xx8-i2c.c:60:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int]
      
      Fixes: 1f458d53 ("ASoC: mediatek: Add mt2701-cs42448 driver and config option.")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      72cedf59
  5. 15 7月, 2016 1 次提交
  6. 04 7月, 2016 1 次提交
  7. 30 6月, 2016 2 次提交
  8. 22 4月, 2016 1 次提交
  9. 02 3月, 2016 1 次提交
  10. 22 2月, 2016 1 次提交
  11. 16 1月, 2016 1 次提交
    • A
      ASoC: mediatek: add i2c dependency · ec3995da
      Arnd Bergmann 提交于
      The newly added mediatek drivers for mt8173 select codes that depend
      on I2C, which cuases a build failure if I2C is disabled:
      
      warning: (SND_SOC_ADAU1761_I2C && SND_SOC_ADAU1781_I2C && SND_SOC_ADAU1977_I2C && SND_SOC_RT5677 && EXTCON_MAX14577 && EXTCON_MAX77693 && EXTCON_MAX77843 && BMC150_ACCEL_I2C && BMG160_I2C) selects REGMAP_I2C which has unmet direct dependencies (I2C)
      codecs/rt5645.c:3854:1: warning: data definition has no type or storage class
      codecs/rt5645.c:3854:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int]
      codecs/rt5677.c:5270:1: warning: data definition has no type or storage class
      77_i2c_driver);
      
      codecs/rt5677.c:5270:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int]
      
      This adds an explicit dependency.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NKoro Chen <koro.chen@mediatek.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      ec3995da
  12. 16 6月, 2015 3 次提交