1. 05 12月, 2017 1 次提交
  2. 28 11月, 2017 1 次提交
  3. 10 11月, 2017 1 次提交
  4. 09 11月, 2017 3 次提交
  5. 07 11月, 2017 1 次提交
  6. 20 10月, 2017 3 次提交
  7. 18 10月, 2017 1 次提交
  8. 10 3月, 2017 1 次提交
  9. 28 2月, 2017 1 次提交
  10. 15 12月, 2016 1 次提交
  11. 13 9月, 2016 1 次提交
    • J
      ASoC: constify snd_pcm_ops structures · 115c7254
      Julia Lawall 提交于
      Check for snd_pcm_ops structures that are only stored in the ops field of a
      snd_soc_platform_driver structure or passed as the third argument to
      snd_pcm_set_ops.  The corresponding field or parameter is declared const,
      so snd_pcm_ops structures that have this property can be declared as const
      also.
      
      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_pcm_ops i@p = { ... };
      
      @ok1@
      identifier r.i;
      struct snd_soc_platform_driver e;
      position p;
      @@
      e.ops = &i@p;
      
      @ok2@
      identifier r.i;
      expression e1, e2;
      position p;
      @@
      snd_pcm_set_ops(e1, e2, &i@p)
      
      @bad@
      position p != {r.p,ok1.p,ok2.p};
      identifier r.i;
      struct snd_pcm_ops e;
      @@
      e@i@p
      
      @depends on !bad disable optional_qualifier@
      identifier r.i;
      @@
      static
      +const
       struct snd_pcm_ops i = { ... };
      // </smpl>
      Signed-off-by: NJulia Lawall <Julia.Lawall@lip6.fr>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      115c7254
  12. 13 1月, 2016 1 次提交
  13. 11 1月, 2016 1 次提交
    • G
      ASoC: AMD: Add missing include file · 7cb1dc81
      Guenter Roeck 提交于
      arm:allmodconfig, s390:allmodconfig, sparc64:allmodconfig, and probably
      other builds fail with
      
      sound/soc/amd/acp-pcm-dma.c:83:2: error:
      	implicit declaration of function ‘readl’
      sound/soc/amd/acp-pcm-dma.c:88:2: error:
      	implicit declaration of function ‘writel’
      
      Include linux/io.h explicitly to fix the problem.
      
      Fixes: 7c31335a ("ASoC: AMD: add AMD ASoC ACP 2.x DMA driver")
      Cc: Maruthi Srinivas Bayyavarapu <Maruthi.Bayyavarapu@amd.com>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      7cb1dc81
  14. 10 1月, 2016 3 次提交