1. 08 11月, 2017 1 次提交
  2. 14 9月, 2017 1 次提交
  3. 15 8月, 2017 1 次提交
  4. 07 8月, 2017 1 次提交
  5. 01 8月, 2017 1 次提交
  6. 17 7月, 2017 1 次提交
  7. 16 12月, 2016 1 次提交
  8. 17 11月, 2016 1 次提交
  9. 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
  10. 14 7月, 2016 1 次提交
  11. 22 6月, 2016 1 次提交
  12. 07 6月, 2016 1 次提交
    • O
      ASoC: rt5514: add rt5514 SPI driver · 6eebf35b
      Oder Chiou 提交于
      The device has multiple control interfaces, I2C and SPI. The I2C interface
      mainly controls the register settings of codec. The SPI interface is in
      order to provide the high speed transmission of data. For example, high
      bandwidth memory read/write of DSP. The patch adds the rt5514 SPI driver
      for loading the firmware of DSP and retrieving the voice data from DSP
      after the system is waked up by specific voice.
      Signed-off-by: NOder Chiou <oder_chiou@realtek.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      6eebf35b