1. 05 6月, 2014 1 次提交
    • A
      ASoC: MMP audio needs sram support · 5ab0862e
      Arnd Bergmann 提交于
      From e7a94bb7fb871c73cc85712d89c1f48d0271c1be Mon Sep 17 00:00:00 2001
      From: Arnd Bergmann <arnd@arndb.de>
      Date: Thu, 5 Jun 2014 12:31:28 +0200
      Subject: [PATCH] ASoC: MMP audio needs sram support
      
      Building the pxa/mmp audio driver without support for the mmp
      sram driver enabled results in this link error:
      
      sound/built-in.o: In function `mmp_pcm_free_dma_buffers':
      :(.text+0x3e734): undefined reference to `sram_get_gpool'
      sound/built-in.o: In function `mmp_pcm_new':
      :(.text+0x3e7c0): undefined reference to `sram_get_gpool'
      
      The sram driver is cannot be manually enabled and needs to
      be turned on by selecting MMP_SRAM from each module that
      needs it, which is what this patch does.
      
      Ideally, MMP should move over to the generic SRAM support, but
      for the moment, we can avoid the build error.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Eric Miao <eric.y.miao@gmail.com>
      Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
      Cc: Qiao Zhou <zhouqiao@marvell.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      5ab0862e
  2. 04 6月, 2014 1 次提交
    • A
      ASoC: pxa: add I2C dependencies as needed · 38784764
      Arnd Bergmann 提交于
      We have in the past added 'depends on I2C' for some of the PXA boards
      after hitting randconfig build bugs. I have seens a couple of new
      bugs in this area during the linux-next cycle for 3.16, after it
      became possible to build some more PXA machines with I2C disabled.
      
      To shut this up for good, this adds the dependency to every board
      that uses I2C as the interface to the codec. I have gone through
      all board files and verified that they all either use AC97 or
      I2C, and this annotates the latter. Some of these already enable
      I2C from mach-pxa/Kconfig, but since that can change it's better
      to be explicit here.
      
      The link error that can result otherwise happens when CONFIG_I2C
      is set to 'm' and the codec driver is built-in as a result of being
      selected by the platform specific glue.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      38784764
  3. 02 5月, 2014 1 次提交
  4. 17 12月, 2013 1 次提交
  5. 15 8月, 2013 1 次提交
  6. 15 5月, 2013 1 次提交
  7. 13 6月, 2012 4 次提交
  8. 05 12月, 2011 1 次提交
    • A
      ASoC: Fix dependency for SND_SOC_RAUMFELD and SND_PXA2XX_SOC_HX4700 · b971c370
      Axel Lin 提交于
      SND_SOC_RAUMFELD selects SND_SOC_CS4270 which needs CONFIG_I2C,
      and also selects SND_SOC_AK4104 which needs SPI_MASTER.
      Thus make SND_SOC_RAUMFELD depend on I2C && SPI_MASTER.
      
      Add depend on SPI_MASTER to fix below build error if CONFIG_SPI_MASTER
      is not selected.
      
        LD      .tmp_vmlinux1
      sound/built-in.o: In function `ak4104_spi_write':
      last.c:(.text+0x290cc): undefined reference to `spi_sync'
      sound/built-in.o: In function `ak4104_probe':
      last.c:(.text+0x292a0): undefined reference to `spi_write_then_read'
      sound/built-in.o: In function `ak4104_spi_probe':
      last.c:(.text+0x29398): undefined reference to `spi_setup'
      sound/built-in.o: In function `ak4104_init':
      last.c:(.init.text+0x4ec): undefined reference to `spi_register_driver'
      make: *** [.tmp_vmlinux1] Error 1
      
      Add depend on I2C to fix below build error if CONFIG_I2C is not selected:
        CC      sound/soc/codecs/cs4270.o
      sound/soc/codecs/cs4270.c: In function 'cs4270_i2c_probe':
      sound/soc/codecs/cs4270.c:657: error: implicit declaration of function 'i2c_smbus_read_byte_data'
      sound/soc/codecs/cs4270.c: In function 'cs4270_init':
      sound/soc/codecs/cs4270.c:730: error: implicit declaration of function 'i2c_add_driver'
      sound/soc/codecs/cs4270.c: In function 'cs4270_exit':
      sound/soc/codecs/cs4270.c:736: error: implicit declaration of function 'i2c_del_driver'
      make[3]: *** [sound/soc/codecs/cs4270.o] Error 1
      make[2]: *** [sound/soc/codecs] Error 2
      make[1]: *** [sound/soc] Error 2
      make: *** [sound] Error 2
      
      SND_PXA2XX_SOC_HX4700 selects SND_SOC_AK4641 which needs CONFIG_I2C.
      Thus make SND_PXA2XX_SOC_HX4700 depend on I2C.
      
      Add depend on I2C to fix below build error if CONFIG_I2C is not selected:
        CC      sound/soc/codecs/ak4641.o
      sound/soc/codecs/ak4641.c: In function 'ak4641_modinit':
      sound/soc/codecs/ak4641.c:646: error: implicit declaration of function 'i2c_add_driver'
      sound/soc/codecs/ak4641.c: In function 'ak4641_exit':
      sound/soc/codecs/ak4641.c:656: error: implicit declaration of function 'i2c_del_driver'
      make[3]: *** [sound/soc/codecs/ak4641.o] Error 1
      make[2]: *** [sound/soc/codecs] Error 2
      make[1]: *** [sound/soc] Error 2
      make: *** [sound] Error 2
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      b971c370
  9. 13 10月, 2011 1 次提交
    • A
      ASoC: Make SND_SOC_SAARB and SND_SOC_TAVOREVB3 select MFD_88PM860X · b29a33a2
      Axel Lin 提交于
      In saarb_pm860x_init() and evb3_pm860x_init(), we call
      pm860x_hs_jack_detect() and pm860x_mic_jack_detect() which in turn
      calls pm860x_set_bits().
      Thus make SND_SOC_SAARB and SND_SOC_TAVOREVB3 select MFD_88PM860X.
      
      This patch fixes below build error if CONFIG_MFD_88PM860X is not configured.
      
        LD      .tmp_vmlinux1
      sound/built-in.o: In function `pm860x_write_reg_cache':
      last.c:(.text+0x29e9c): undefined reference to `pm860x_reg_write'
      sound/built-in.o: In function `pm860x_set_bias_level':
      last.c:(.text+0x29ecc): undefined reference to `pm860x_set_bits'
      last.c:(.text+0x29f00): undefined reference to `pm860x_reg_write'
      last.c:(.text+0x29f18): undefined reference to `pm860x_reg_write'
      sound/built-in.o: In function `pm860x_read_reg_cache':
      last.c:(.text+0x29f40): undefined reference to `pm860x_reg_read'
      sound/built-in.o: In function `pm860x_probe':
      last.c:(.text+0x2a034): undefined reference to `pm860x_bulk_read'
      sound/built-in.o: In function `pm860x_codec_handler':
      last.c:(.text+0x2a344): undefined reference to `pm860x_reg_read'
      last.c:(.text+0x2a354): undefined reference to `pm860x_reg_read'
      sound/built-in.o: In function `pm860x_mic_jack_detect':
      last.c:(.text+0x2a450): undefined reference to `pm860x_set_bits'
      sound/built-in.o: In function `pm860x_hs_jack_detect':
      last.c:(.text+0x2a4d0): undefined reference to `pm860x_set_bits'
      last.c:(.text+0x2a4f8): undefined reference to `pm860x_set_bits'
      last.c:(.text+0x2a510): undefined reference to `pm860x_set_bits'
      make: *** [.tmp_vmlinux1] Error 1
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      b29a33a2
  10. 20 5月, 2011 1 次提交
  11. 25 11月, 2010 1 次提交
  12. 19 8月, 2010 2 次提交
  13. 11 5月, 2010 1 次提交
  14. 12 4月, 2010 1 次提交
  15. 02 3月, 2010 2 次提交
  16. 28 11月, 2009 1 次提交
  17. 15 10月, 2009 1 次提交
  18. 01 10月, 2009 1 次提交
  19. 05 6月, 2009 1 次提交
  20. 12 5月, 2009 1 次提交
  21. 05 5月, 2009 1 次提交
  22. 02 4月, 2009 1 次提交
  23. 09 2月, 2009 1 次提交
    • R
      ASoC: Add initial support of Mitac mioa701 device SoC. · 8f0dc655
      Robert Jarzmik 提交于
      This machine driver enables sound functions on Mitac mio
      a701 smartphone. Build upon ASoC v1, it handles :
       - rear speaker
       - front speaker
       - microphone
       - GSM
      
      A global "Mio Mode" switch is not yet provided to cope with
      audio path setup. As balance on audio chip line is no more
      assured, an incorrect setup can produce a lot of heat and
      even fry the battery behind the wm9713 and the speaker
      amplifier.
      
      It doesn't cope with :
       - headset jack
       - mio master mode
       - master volume control
      
      This driver is backported from ASoc v2, and amputated from
      scenario setups and master volume control.
      
      [Minor mods for terminology in comments -- broonie]
      Signed-off-by: NRobert Jarzmik <robert.jarzmik@free.fr>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      8f0dc655
  24. 20 1月, 2009 1 次提交
  25. 17 1月, 2009 1 次提交
  26. 06 11月, 2008 1 次提交
  27. 30 10月, 2008 1 次提交
    • M
      ASoC: Add PXA SSP support · 1b340bd7
      Mark Brown 提交于
      The SSP ports PXA series processors can be used to implement a variety of
      audio interface formats. This patch implements support for I2S, DSP A and
      DSP B modes on these ports.
      
      This patch is based on the previous out of tree pxa2xx-ssp driver (which
      was originally written by Liam Girdwood with updates from Philipp Zabel
      and Nicola Perrino) and pxa3xx-ssp driver (originally written by Seth
      Forsee based on the pxa2xx-ssp driver). Testing coverage is not complete
      currently.
      Tested-by: NDaniel Ribeiro <drwyrm@gmail.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      1b340bd7
  28. 23 9月, 2008 2 次提交
  29. 07 7月, 2008 1 次提交
  30. 27 5月, 2008 2 次提交
  31. 01 2月, 2008 1 次提交
  32. 11 5月, 2007 1 次提交
  33. 14 3月, 2007 1 次提交