1. 07 2月, 2015 1 次提交
  2. 29 1月, 2015 1 次提交
    • A
      ASoC: rt5677: fix SPI dependency · 4c121129
      Arnd Bergmann 提交于
      The rt5677 codec has gained code that requires SPI to work correctly,
      but there is no provision in Kconfig to prevent the driver from
      being used when SPI is disabled or a loadable module, resulting
      in this build error:
      
      sound/built-in.o: In function `rt5677_spi_write':
      :(.text+0xa7ba0): undefined reference to `spi_sync'
      sound/built-in.o: In function `rt5677_spi_driver_init':
      :(.init.text+0x253c): undefined reference to `spi_register_driver'
      
      ERROR: "spi_sync" [sound/soc/codecs/snd-soc-rt5677-spi.ko] undefined!
      ERROR: "spi_register_driver" [sound/soc/codecs/snd-soc-rt5677-spi.ko] undefined!
      
      This makes the SPI portion of the driver depend on the SPI subsystem,
      and disables the function that uses SPI for firmware download if SPI
      is disabled. The latter may not be the correct solution, but I could
      not come up with a better one.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: af48f1d0 ("ASoC: rt5677: Support DSP function for VAD application")
      Signed-off-by: NMark Brown <broonie@kernel.org>
      4c121129
  3. 28 1月, 2015 2 次提交
  4. 12 12月, 2014 1 次提交
  5. 19 11月, 2014 1 次提交
  6. 14 11月, 2014 2 次提交
  7. 09 11月, 2014 1 次提交
  8. 03 11月, 2014 1 次提交
  9. 01 11月, 2014 1 次提交
    • R
      ASoC: cs42l51: depends on I2C · e894beb8
      Randy Dunlap 提交于
      Fix build errors when CONFIG_I2C is not enabled by making the
      driver depend on I2C.
      
      ../sound/soc/codecs/cs42l51-i2c.c:55:1: warning: data definition has no type or storage class [enabled by default]
       module_i2c_driver(cs42l51_i2c_driver);
       ^
      ../sound/soc/codecs/cs42l51-i2c.c:55:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int]
      ../sound/soc/codecs/cs42l51-i2c.c:55:1: warning: parameter names (without types) in function declaration [enabled by default]
      ../sound/soc/codecs/cs42l51-i2c.c:45:26: warning: 'cs42l51_i2c_driver' defined but not used [-Wunused-variable]
       static struct i2c_driver cs42l51_i2c_driver = {
                                ^
      Signed-off-by: NRandy Dunlap <rdunlap@infradead.org>
      Acked-by: NBrian Austin <brian.austin@cirrus.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      e894beb8
  10. 31 10月, 2014 1 次提交
  11. 29 10月, 2014 1 次提交
  12. 23 10月, 2014 1 次提交
  13. 20 10月, 2014 2 次提交
  14. 03 10月, 2014 1 次提交
  15. 30 9月, 2014 1 次提交
  16. 27 9月, 2014 1 次提交
  17. 28 8月, 2014 1 次提交
  18. 17 8月, 2014 3 次提交
  19. 26 7月, 2014 2 次提交
  20. 18 7月, 2014 1 次提交
  21. 05 7月, 2014 1 次提交
    • B
      ASoC: add RT286 CODEC driver · 07cf7cba
      Bard Liao 提交于
      This patch adds Realtek ALC286 codec driver.
      
      ALC286 is a dual mode codec, which can run as HD-A or I2S mode.
      It is controlled by HD-A verb commands via I2C protocol.
      The following is the I/O difference between ALC286 and general I2S codecs.
      1. A HD-A verb command contains three parts, NID, VID, and PID.
         And an I2S command contains only two parts: address and data.
      2. Not only the register address is written, but the read command also
         includes the entire write command.
      3. rt286 uses different registers for read and write the same bits.
      
      We map verb command to regmap structure. However, we read most registers from
      cache to prevent the asymmetry read/write issue in rt286.
      Signed-off-by: NBard Liao <bardliao@realtek.com>
      Signed-off-by: NGustaw Lewandowski <gustaw.lewandowski@intel.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      07cf7cba
  22. 03 7月, 2014 1 次提交
  23. 24 6月, 2014 1 次提交
  24. 16 6月, 2014 1 次提交
  25. 10 6月, 2014 1 次提交
    • L
      ASoC: sigmadsp: Split regmap and I2C support into separate modules · 2488708f
      Lars-Peter Clausen 提交于
      When the SigmaDSP module is built-in, but the I2C core is build as a module
      we'll get a undefined reference:
      
      	sound/built-in.o: In function `sigma_action_write_i2c':
      		:(.text+0x5d8d4): undefined reference to `i2c_master_send'
      
      This can happen if a audio driver that is using the regmap SigmaDSP interface is
      built into the kernel, but core I2C support is build as a module. To fix this
      split the SigmaDSP module into three modules, one module providing the core
      infrastructure and two small modules implementing the regmap and I2C interfaces.
      This allows e.g. the core infrastructure and regmap support to be built into the
      kernel while I2C support can still be build as a module.
      
      Fixes: dab464b6 ("ASoC: Add ADAU1361/ADAU1761 audio CODEC support")
      Reported-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      2488708f
  26. 06 6月, 2014 1 次提交
    • L
      ASoC: sigmadsp: Split regmap and I2C support into separate modules · 6b10998d
      Lars-Peter Clausen 提交于
      When the SigmaDSP module is built-in, but the I2C core is build as a module
      we'll get a undefined reference:
      
      	sound/built-in.o: In function `sigma_action_write_i2c':
      		:(.text+0x5d8d4): undefined reference to `i2c_master_send'
      
      This can happen if a audio driver that is using the regmap SigmaDSP interface is
      built into the kernel, but core I2C support is build as a module. To fix this
      split the SigmaDSP module into three modules, one module providing the core
      infrastructure and two small modules implementing the regmap and I2C interfaces.
      This allows e.g. the core infrastructure and regmap support to be built into the
      kernel while I2C support can still be build as a module.
      
      Fixes: dab464b6 ("ASoC: Add ADAU1361/ADAU1761 audio CODEC support")
      Reported-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      6b10998d
  27. 02 6月, 2014 2 次提交
  28. 28 5月, 2014 3 次提交
  29. 26 5月, 2014 1 次提交
  30. 21 5月, 2014 1 次提交
  31. 06 5月, 2014 1 次提交