1. 10 1月, 2019 1 次提交
  2. 12 2月, 2018 1 次提交
  3. 13 12月, 2017 7 次提交
  4. 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
  5. 17 7月, 2017 1 次提交
  6. 08 8月, 2016 1 次提交
  7. 13 5月, 2016 1 次提交
    • J
      ASoC: tlv320aic32x4: Properly implement the positive and negative pins into the mixers · 2213fc35
      Jeremy McDermond 提交于
      The TLV320AIC32x4 has a very flexible mixer on the inputs to the ADCs.  Each
      mixer has an available set of available pins that can be connected to the
      ADC positive and negative pins via three different resistor values.  This
      allows for configuration of differential inputs as well as doing level
      manipulation between sources going into the mixers.
      
      The current code only provides positive pins and I implemented the resistors
      in an earlier patch.  It turns out that it appears to more accurately model
      what's happening to implement each of the pins as a MUX rather than on/off
      switches and a mixer.  This way each pin can be set to its desired resistor
      value.  Since there are no switches, the mixer is no longer necessary in the
      DAPM path.  I set the DAPM paths such that the "off" position of any of the
      MUXes turns the path off.
      
      This should allow for any input confiuration available on the codec.
      Signed-off-by: NJeremy McDermond <nh6z@nh6z.net>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      2213fc35
  8. 21 4月, 2016 2 次提交
  9. 20 4月, 2016 1 次提交
  10. 19 4月, 2016 2 次提交
  11. 15 7月, 2015 1 次提交
  12. 28 4月, 2015 1 次提交
  13. 27 11月, 2014 1 次提交
    • L
      ASoC: tlv320aic32x4: Cleanup manual bias level transitions · f10c0a71
      Lars-Peter Clausen 提交于
      Set the CODEC driver's suspend_bias_off flag rather than manually going to
      SND_SOC_BIAS_OFF in suspend and SND_SOC_BIAS_STANDBY in resume. This makes
      the code a bit shorter and cleaner.
      
      Since the ASoC core now takes care of setting the bias level to
      SND_SOC_BIAS_OFF when removing the CODEC there is no need to do it manually
      anymore either.
      
      The manual transition to SND_SOC_BIAS_STANDBY at the end of CODEC probe()
      can also be removed as the core will automatically do this after the CODEC
      has been probed.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      f10c0a71
  14. 31 7月, 2014 1 次提交
  15. 22 6月, 2014 2 次提交
  16. 11 3月, 2014 1 次提交
  17. 23 2月, 2014 3 次提交
  18. 03 2月, 2014 3 次提交
  19. 28 1月, 2014 2 次提交
  20. 16 1月, 2014 1 次提交
  21. 13 1月, 2014 1 次提交
  22. 26 9月, 2013 2 次提交
  23. 27 8月, 2013 1 次提交
  24. 09 12月, 2012 1 次提交
  25. 01 11月, 2012 1 次提交