1. 11 5月, 2018 6 次提交
  2. 12 2月, 2018 1 次提交
  3. 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
  4. 01 2月, 2017 1 次提交
  5. 13 1月, 2017 1 次提交
  6. 04 1月, 2017 1 次提交
  7. 29 10月, 2016 1 次提交
  8. 25 10月, 2016 1 次提交
  9. 15 8月, 2016 1 次提交
  10. 08 8月, 2016 1 次提交
  11. 18 3月, 2016 1 次提交
  12. 08 3月, 2016 1 次提交
  13. 07 3月, 2016 2 次提交
  14. 22 2月, 2016 1 次提交
  15. 05 1月, 2016 2 次提交
  16. 22 10月, 2015 1 次提交
  17. 12 8月, 2015 1 次提交
  18. 05 8月, 2015 2 次提交
  19. 17 7月, 2015 1 次提交
  20. 15 7月, 2015 1 次提交
  21. 07 7月, 2015 1 次提交
  22. 15 6月, 2015 1 次提交
  23. 20 5月, 2015 1 次提交
  24. 28 4月, 2015 2 次提交
  25. 27 1月, 2015 1 次提交
  26. 15 1月, 2015 1 次提交
  27. 02 10月, 2014 1 次提交
    • J
      ASoC: rt5640: Add function for enabling DMIC from ACPI probed machine · cd69dc88
      Jarkko Nikula 提交于
      There is no code enabling DMIC clock in systems that don't provide platform
      data for rt5640 after commit 71d97a79 ("ASoC: rt5640: Use the platform
      data for DMIC settings").
      
      I think it's worth to keep this static DMIC clock and alternative data pin
      setting during probe time. For making possible to use DMIC from ACPI probed
      machine (prior ACPI 5.1 with _DSD) this patch moves DMIC configuration to
      new exported rt5640_dmic_enable() that machine drivers can call.
      
      Please note, this patch moves DMIC configuration from i2c probe to codec
      probe in case platform data for rt5640 is set.
      Signed-off-by: NJarkko Nikula <jarkko.nikula@linux.intel.com>
      Cc: Oder Chiou <oder_chiou@realtek.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      cd69dc88
  28. 27 8月, 2014 1 次提交
  29. 21 6月, 2014 1 次提交
  30. 02 6月, 2014 2 次提交