1. 15 8月, 2019 1 次提交
  2. 22 7月, 2019 1 次提交
  3. 03 4月, 2019 1 次提交
  4. 02 4月, 2019 2 次提交
  5. 09 2月, 2019 1 次提交
  6. 17 11月, 2018 1 次提交
  7. 04 9月, 2018 1 次提交
  8. 03 9月, 2018 1 次提交
  9. 19 2月, 2018 2 次提交
  10. 14 2月, 2018 1 次提交
    • P
      ASoC: tlv320aic31xx: Fix master mode clock I2S bus clocks · d460b3f8
      Peter Ujfalusi 提交于
      In the reset state of the codec we do not have complete playback or capture
      routes.
      
      The audio playback/capture will not work due to missing clock signals on
      the I2S bus if PLL, MDAC/NDAC/DAC MADC/NADC/ADC is powered down.
      
      To make sure that even if all output/input is disconnected the codec is
      generating clocks, we need to have valid DAPM route in every case to power
      up the must needed parts of the codec.
      
      I have verified that switching DAC (during playback) or ADC (during
      capture) will stop the I2S clocks, so the only solution is to connect the
      'Off' routes as well to output/input.
      
      The routes will be only added if the codec is clock master. In case the
      role changes runtime, the applied routes are removed.
      
      Tested on am43x-epos-evm with aic3111 codec in master mode.
      Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com>
      Reviewed-by: NJyri Sarha <jsarha@ti.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      d460b3f8
  11. 12 2月, 2018 1 次提交
  12. 08 12月, 2017 3 次提交
  13. 01 12月, 2017 6 次提交
  14. 30 11月, 2017 4 次提交
  15. 09 11月, 2017 1 次提交
  16. 10 8月, 2017 1 次提交
    • B
      ASoC: codecs: add const to snd_soc_codec_driver structures · a180ba45
      Bhumika Goyal 提交于
      Declare snd_soc_codec_driver structures as const as they are only passed
      as an argument to the function snd_soc_register_codec. This argument is
      of type const, so declare the structures with this property as const.
      In file codecs/sn95031.c, snd_soc_codec_driver structure is also used in
      a copy operation along with getting passed to snd_soc_register_codec.
      So, it can be made const too.
      Done using Coccinelle:
      
      @match disable optional_qualifier@
      identifier s;
      position p;
      @@
      static struct snd_soc_codec_driver s@p={...};
      
      @good1@
      identifier match.s;
      position p;
      @@
      snd_soc_register_codec(...,&s@p,...)
      
      @bad@
      identifier match.s;
      position p!={match.p,good1.p};
      @@
      s@p
      
      @depends on !bad disable optional_qualifier@
      identifier match.s;
      @@
      static
      +const
      struct snd_soc_codec_driver s={...};
      Signed-off-by: NBhumika Goyal <bhumirks@gmail.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      a180ba45
  17. 14 5月, 2017 1 次提交
  18. 12 11月, 2016 1 次提交
  19. 11 11月, 2016 1 次提交
  20. 28 9月, 2016 1 次提交
  21. 27 9月, 2016 1 次提交
    • N
      ASoC: tlv320aic31xx: add explicit support for tlv320dac31xx · ef9656b6
      Nikita Yushchenko 提交于
      tlv320dac31xx is a subset of tlv320aic31xx:
      - it does not have MIC inputs and ADC, thus capture is not supported,
      - it has analog inputs AIN1/AIN2 that can be mixed into output.
      
      Although tlv320dac31xx does work with tlv320aic31xx driver, this setup
      does register non-existent widgets and non-existent capture stream.
      Thus userspace lists non-existent objects in user interfaces, an can
      access these, causing operations with device registers that are
      declared as "reserved" in tlv320dac31xx datasheet.
      
      This patch fixes this situation by separating controls/widgets/routes
      into common, aic31xx-specific, and dac31xx-specific parts. Only parts
      that match actual hardware (as declared in "compatible" device tree
      property) are registered.
      
      Changes from v1:
      - update device tree binding documentation,
      - rebased on top of "ASoC: codec duplicated callback function goes to
        component on tlv320aic31xx" commit.
      Signed-off-by: NNikita Yushchenko <nikita.yoush@cogentembedded.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      ef9656b6
  22. 08 8月, 2016 1 次提交
  23. 01 6月, 2016 1 次提交
  24. 20 4月, 2016 1 次提交
  25. 15 7月, 2015 2 次提交
  26. 15 5月, 2015 1 次提交
  27. 28 4月, 2015 1 次提交