1. 25 10月, 2016 1 次提交
    • A
      ASoC: PXA: Brownstone needs I2C · 5229f1f4
      Arnd Bergmann 提交于
      I rand into a new build error with SND_MMP_SOC_BROWNSTONE:
      
      warning: (SND_MMP_SOC_BROWNSTONE && SND_SOC_SAMSUNG_SMDK_WM8994 && SND_SOC_SMDK_WM8994_PCM && SND_SOC_LITTLEMILL) selects MFD_WM8994 which has unmet direct dependencies (HAS_IOMEM && I2C)
      drivers/mfd/wm8994-core.c:688:1: error: data definition has no type or storage class [-Werror]
      drivers/mfd/wm8994-core.c:688:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int]
      
      I don't see why this never showed up before, as the dependency seems to
      have been missing since the symbol was first introduced several years
      ago. This adds a dependency like the other drivers have.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      5229f1f4
  2. 17 9月, 2015 1 次提交
    • R
      ASoC: fix broken pxa SoC support · 3c8f7710
      Robert Jarzmik 提交于
      The previous fix of pxa library support, which was introduced to fix the
      library dependency, broke the previous SoC behavior, where a machine
      code binding pxa2xx-ac97 with a coded relied on :
       - sound/soc/pxa/pxa2xx-ac97.c
       - sound/soc/codecs/XXX.c
      
      For example, the mioa701_wm9713.c machine code is currently broken. The
      "select ARM" statement wrongly selects the soc/arm/pxa2xx-ac97 for
      compilation, as per an unfortunate fate SND_PXA2XX_AC97 is both declared
      in sound/arm/Kconfig and sound/soc/pxa/Kconfig.
      
      Fix this by ensuring that SND_PXA2XX_SOC correctly triggers the correct
      pxa2xx-ac97 compilation.
      
      Fixes: 846172df ("ASoC: fix SND_PXA2XX_LIB Kconfig warning")
      Signed-off-by: NRobert Jarzmik <robert.jarzmik@free.fr>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      3c8f7710
  3. 30 1月, 2015 1 次提交
    • A
      ASoC: pxa: make TTC DKB tristate · 7c47cd7f
      Arnd Bergmann 提交于
      In a rare combination of Kconfig settings, the 88pm860x-codec
      module may be selected as a loadable module, while it's also being
      used by the ttb-dkb code that is built-in, resulting in a link
      error:
      
      sound/built-in.o: In function `ttc_pm860x_init':
      :(.text+0x3e888): undefined reference to `pm860x_hs_jack_detect'
      :(.text+0x3e898): undefined reference to `pm860x_mic_jack_detect'
      
      Changing ttb-tkb to a tristate option tells Kconfig that 88pm86x
      actually needs to be built-in if ttc-dkb is also built-in.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      7c47cd7f
  4. 17 6月, 2014 1 次提交
    • A
      ASoC: MMP audio needs sram support · 5ba4059c
      Arnd Bergmann 提交于
      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>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      5ba4059c
  5. 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
  6. 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
  7. 02 5月, 2014 1 次提交
  8. 17 12月, 2013 1 次提交
  9. 15 8月, 2013 1 次提交
  10. 15 5月, 2013 1 次提交
  11. 13 6月, 2012 4 次提交
  12. 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
  13. 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
  14. 20 5月, 2011 1 次提交
  15. 25 11月, 2010 1 次提交
  16. 19 8月, 2010 2 次提交
  17. 11 5月, 2010 1 次提交
  18. 12 4月, 2010 1 次提交
  19. 02 3月, 2010 2 次提交
  20. 28 11月, 2009 1 次提交
  21. 15 10月, 2009 1 次提交
  22. 01 10月, 2009 1 次提交
  23. 05 6月, 2009 1 次提交
  24. 12 5月, 2009 1 次提交
  25. 05 5月, 2009 1 次提交
  26. 02 4月, 2009 1 次提交
  27. 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
  28. 20 1月, 2009 1 次提交
  29. 17 1月, 2009 1 次提交
  30. 06 11月, 2008 1 次提交
  31. 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
  32. 23 9月, 2008 2 次提交
  33. 07 7月, 2008 1 次提交
  34. 27 5月, 2008 1 次提交