1. 20 3月, 2014 1 次提交
  2. 19 3月, 2014 2 次提交
  3. 13 3月, 2014 1 次提交
  4. 10 3月, 2014 2 次提交
  5. 09 3月, 2014 12 次提交
  6. 07 3月, 2014 2 次提交
  7. 06 3月, 2014 4 次提交
    • L
      ASoC: Add helper function to check whether a CODEC is active · 5c898e74
      Lars-Peter Clausen 提交于
      Instead of directly checking the 'active' field of the CODEC struct add a new
      helper function that will return either true or false depending on whether the
      CODEC is active. This will make the migration to the component level easier.
      
      The patch also updates all CODEC drivers that check the active attribute to use
      the new helper function.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      5c898e74
    • R
      ASoC: sirf: Add SiRF internal audio codec driver · f516e368
      Rongjun Ying 提交于
      SiRF internal audio codec is integrated in SiRF atlas6 and prima2 SoC.
      Features include:
      1. Stereo DAC and ADC with 16-bit resolution amd 48KHz sample rate
      2. Support headphone and/or speaker output
      3. Integrate headphone and speaker output amp
      4. Support LINE and MIC input
      5. Support single ended and differential input mode
      Signed-off-by: NRongjun Ying <rongjun.ying@csr.com>
      --v5:
      1. Drop all inlines.
      2. Reordering the Kconfig and Makefile
      3. Remove the sirf_audio_codec_reg_bits struct, use the new controls instead it.
      4. Add some SND_SOC_DAPM_OUT_DRV instead of HP and SPK enable driver
      5. Add audio codec clock supply instead of adc event callback
      6. Fixed playback and capture can't concurrent work bug.
      
      --
       .../devicetree/bindings/sound/sirf-audio-codec.txt |   17 +
       sound/soc/codecs/Kconfig                           |    5 +
       sound/soc/codecs/Makefile                          |    1 +
       sound/soc/codecs/sirf-audio-codec.c                |  533 ++++++++++++++++++++
       sound/soc/codecs/sirf-audio-codec.h                |   75 +++
       5 files changed, 631 insertions(+), 0 deletions(-)
       create mode 100644 Documentation/devicetree/bindings/sound/sirf-audio-codec.txt
       create mode 100644 sound/soc/codecs/sirf-audio-codec.c
       create mode 100644 sound/soc/codecs/sirf-audio-codec.h
      Signed-off-by: NMark Brown <broonie@linaro.org>
      f516e368
    • C
      ASoC: wm_adsp: Split firmware load into smaller chunks · c1a7898d
      Charles Keepax 提交于
      The firmware files can be quite large and allocating the whole firmware
      a single DMA safe buffer can be problematic if the system is under a
      high memory load. Ease the requirements slightly by writing the firmware
      out in page sized chunks.
      Signed-off-by: NCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      c1a7898d
    • T
      ASoC: cs4271: Fix build error without CONFIG_SPI_MASTER · 9c369c6e
      Takashi Iwai 提交于
      cs4271_common_probe() is called from cs4271_i2c_probe() but defined in
      CONFIG_SPI_MASTER block, thus it results in a build error when
      CONFIG_SPI_MASTER=n:
        sound/soc/codecs/cs4271.c:721:2: error: implicit declaration of function ‘cs4271_common_probe’ [-Werror=implicit-function-declaration]
      
      Move the function out of #if block.
      
      Fixes: d6cf89ee ('ASoC: cs4271: claim reset GPIO in bus probe function')
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Acked-by: NDaniel Mack <daniel@zonque.org>
      Acked-by: NBrian Austin <brian.austin@cirrus.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      9c369c6e
  8. 05 3月, 2014 1 次提交
  9. 04 3月, 2014 2 次提交
  10. 01 3月, 2014 5 次提交
  11. 27 2月, 2014 1 次提交
    • T
      ASoC: sta32x: Fix wrong enum for limiter2 release rate · b3619b28
      Takashi Iwai 提交于
      There is a typo in the Limiter2 Release Rate control, a wrong enum for
      Limiter1 is assigned.  It must point to Limiter2.
      Spotted by a compile warning:
      
      In file included from sound/soc/codecs/sta32x.c:34:0:
      sound/soc/codecs/sta32x.c:223:29: warning: ‘sta32x_limiter2_release_rate_enum’ defined but not used [-Wunused-variable]
       static SOC_ENUM_SINGLE_DECL(sta32x_limiter2_release_rate_enum,
                                   ^
      include/sound/soc.h:275:18: note: in definition of macro ‘SOC_ENUM_DOUBLE_DECL’
        struct soc_enum name = SOC_ENUM_DOUBLE(xreg, xshift_l, xshift_r, \
                        ^
      sound/soc/codecs/sta32x.c:223:8: note: in expansion of macro ‘SOC_ENUM_SINGLE_DECL’
       static SOC_ENUM_SINGLE_DECL(sta32x_limiter2_release_rate_enum,
              ^
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      Cc: <stable@vger.kernel.org>
      b3619b28
  12. 26 2月, 2014 1 次提交
    • M
      ASoC: da732x: Mark DC offset control registers volatile · 75306820
      Mark Brown 提交于
      The driver reads from the DC offset control registers during callibration
      but since the registers are marked as volatile and there is a register
      cache the values will not be read from the hardware after the first reading
      rendering the callibration ineffective.
      
      It appears that the driver was originally written for the ASoC level
      register I/O code but converted to regmap prior to merge and this issue
      was missed during the conversion as the framework level volatile register
      functionality was not being used.
      Signed-off-by: NMark Brown <broonie@linaro.org>
      Acked-by: NAdam Thomson <Adam.Thomson.Opensource@diasemi.com>
      Cc: stable@vger.kernel.org
      75306820
  13. 25 2月, 2014 5 次提交
  14. 24 2月, 2014 1 次提交