1. 25 3月, 2017 2 次提交
  2. 29 9月, 2016 1 次提交
  3. 02 9月, 2016 1 次提交
    • J
      ASoC: constify snd_soc_codec_driver structures · f802d6c0
      Julia Lawall 提交于
      Check for snd_soc_codec_driver structures that are only passed to
      snd_soc_register_codec or memcpy (2nd arg), for which the corresponding
      parameters are declared const.  Declare as const snd_soc_codec_driver
      structures that have these properties.
      
      The semantic patch that makes this change is as follows:
      (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @r disable optional_qualifier@
      identifier i;
      position p;
      @@
      static struct snd_soc_codec_driver i@p = { ... };
      
      @ok@
      identifier r.i;
      expression e1,e2,e3;
      position p;
      @@
      (
      snd_soc_register_codec(e1,&i@p,e2,e3)
      |
      memcpy(e1,&i@p,e2)
      )
      
      @bad@
      position p != {r.p,ok.p};
      identifier r.i;
      @@
      i@p
      
      @depends on !bad disable optional_qualifier@
      identifier r.i;
      @@
      static
      +const
       struct snd_soc_codec_driver i = { ... };
      // </smpl>
      Signed-off-by: NJulia Lawall <Julia.Lawall@lip6.fr>
      Acked-by: NCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      f802d6c0
  4. 23 1月, 2016 2 次提交
  5. 08 1月, 2016 2 次提交
  6. 25 12月, 2015 1 次提交
  7. 04 11月, 2015 1 次提交
  8. 22 10月, 2015 1 次提交
  9. 19 9月, 2015 1 次提交
  10. 11 9月, 2015 2 次提交
  11. 12 8月, 2015 1 次提交
  12. 15 7月, 2015 1 次提交
  13. 12 6月, 2015 1 次提交
  14. 01 6月, 2015 1 次提交
  15. 13 5月, 2015 3 次提交
  16. 28 4月, 2015 1 次提交
  17. 11 3月, 2015 1 次提交
  18. 15 1月, 2015 1 次提交
  19. 07 1月, 2015 1 次提交
  20. 27 11月, 2014 1 次提交
  21. 25 11月, 2014 1 次提交
  22. 22 11月, 2014 1 次提交
  23. 01 8月, 2014 1 次提交
  24. 23 7月, 2014 1 次提交
    • L
      ASoC: Move card field form platform/codec to component · 00200107
      Lars-Peter Clausen 提交于
      Both the snd_soc_codec and snd_soc_platform struct do have a pointer to the
      parent card and both handle this pointer in mostly the same way. This patch
      moves the card field to the component level which will allow further code
      consolidation between platforms and CODECS.
      
      Since there are only a handful of users of the snd_soc_codec struct's card field
      (and none of the snd_soc_platform's) these are update in this patch as well,
      which allows it to be removed from the snd_soc_codec struct.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      00200107
  25. 15 4月, 2014 1 次提交
  26. 11 3月, 2014 1 次提交
  27. 18 8月, 2013 1 次提交
  28. 15 8月, 2013 1 次提交
  29. 04 3月, 2013 1 次提交
  30. 01 3月, 2013 2 次提交
  31. 09 12月, 2012 1 次提交
  32. 02 12月, 2012 1 次提交
  33. 21 9月, 2012 1 次提交