1. 04 5月, 2015 1 次提交
  2. 12 3月, 2015 1 次提交
  3. 05 3月, 2015 1 次提交
  4. 12 2月, 2015 1 次提交
    • G
      ASoC: Fix MAX98357A codec driver dependencies · ffa04757
      Guenter Roeck 提交于
      The max98357a driver depends on GPIOLIB. This may cause the following
      build failure.
      
      sound/soc/codecs/max98357a.c: In function 'max98357a_daiops_trigger':
      sound/soc/codecs/max98357a.c:30:3: error: implicit declaration of function 'gpiod_set_value'
      sound/soc/codecs/max98357a.c: In function 'max98357a_codec_probe':
      sound/soc/codecs/max98357a.c:55:2: error: implicit declaration of function 'devm_gpiod_get'
      sound/soc/codecs/max98357a.c:61:2: error: implicit declaration of function 'gpiod_direction_output'
      
      Seen with mips:allmodconfig as well as various randconfig builds.
      
      Fixes: af5adf12 ("ASoC: max98357a: Add MAX98357A codec driver")
      Cc: Kenneth Westfield <kwestfie@codeaurora.org>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      ffa04757
  5. 07 2月, 2015 1 次提交
  6. 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
  7. 28 1月, 2015 2 次提交
  8. 12 12月, 2014 1 次提交
  9. 19 11月, 2014 1 次提交
  10. 14 11月, 2014 2 次提交
  11. 09 11月, 2014 1 次提交
  12. 03 11月, 2014 1 次提交
  13. 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
  14. 31 10月, 2014 1 次提交
  15. 29 10月, 2014 1 次提交
  16. 23 10月, 2014 1 次提交
  17. 20 10月, 2014 2 次提交
  18. 03 10月, 2014 1 次提交
  19. 30 9月, 2014 1 次提交
  20. 27 9月, 2014 1 次提交
  21. 28 8月, 2014 1 次提交
  22. 17 8月, 2014 3 次提交
  23. 26 7月, 2014 2 次提交
  24. 18 7月, 2014 1 次提交
  25. 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
  26. 03 7月, 2014 1 次提交
  27. 24 6月, 2014 1 次提交
  28. 16 6月, 2014 1 次提交
  29. 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
  30. 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
  31. 02 6月, 2014 2 次提交
  32. 28 5月, 2014 2 次提交
    • L
      ASoC: Add ADAU1381/ADAU1781 audio CODEC support · 2923af02
      Lars-Peter Clausen 提交于
      This patch adds support for the Analog Devices ADAU1381 and ADAU1781 audio
      CODECs. The device is a low-power, 24-bit stereo audio CODEC with multiple
      analog inputs and outputs, two digital microphone inputs and an I2S interface.
      The device can be controlled either using I2C or SPI. The main difference
      between the two variants is that the ADAU1781 has a freely programmable SigmaDSP
      processor, while the ADAU1381 has a fixed function wind noise reduction filter.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      2923af02
    • L
      ASoC: Add ADAU1361/ADAU1761 audio CODEC support · dab464b6
      Lars-Peter Clausen 提交于
      This patch adds support for the Analog Devices ADAU1361 and ADAU1761 CODECs.
      The device is a a low-power, 24-bit stereo audio CODEC with multiple analog
      input and outputs, one digital microphone input and an I2S interface. The device
      can be controlled either via I2C or SPI. The main difference between the two
      variants is that the ADAU1761 has a built-in SigmaDSP, while the ADAU1361 has
      not.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      dab464b6