1. 26 10月, 2016 2 次提交
  2. 25 10月, 2016 1 次提交
  3. 25 9月, 2016 1 次提交
    • C
      ASoC: arizona: Attach SYSCLK to DSP preloaders · 3577357a
      Charles Keepax 提交于
      Currently SYSCLK is attached to every compressed DAI as this follows the
      pattern of attaching clocks to the chips inputs and outputs, however, it is
      really the DSP that requires the clock here. As firmware download can be a
      significant part of the path startup time for these devices occasionally it
      would be desirable to download the firmware in advance of the path being
      brought up.
      
      To help facilitate this early firmware loading this patch attaches the
      SYSCLK to the DSP preloader widget. This also saves us adding a new route
      to SYSCLK every time a new compressed DAI is created.
      Signed-off-by: NCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      3577357a
  4. 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
  5. 11 8月, 2016 1 次提交
  6. 08 8月, 2016 1 次提交
  7. 13 6月, 2016 1 次提交
  8. 31 5月, 2016 1 次提交
  9. 30 5月, 2016 4 次提交
  10. 27 4月, 2016 1 次提交
  11. 16 4月, 2016 1 次提交
  12. 05 2月, 2016 1 次提交
    • C
      ASoC: arizona: Add support for SNDRV_PCM_RATE_KNOT · d81221ff
      Charles Keepax 提交于
      The Arizona CODECs support several rates that do not have simple defines
      in ALSA. This patch adds support for SNDRV_PCM_RATE_KNOT so that users
      can open stream at these rates. As part of this we should always set
      constraints in arizona_startup, currently we only set the constraints if
      we already have a clock to limit rates to that family of sample rates.
      This patch updates this to set a constraint of all rates supported by
      the chip if we do not already know which family of rates to limit to.
      Finally we also reduce the list of rates supported in the constraints to
      only include those that are supported on current parts.
      Signed-off-by: NCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      d81221ff
  13. 29 1月, 2016 3 次提交
  14. 23 1月, 2016 1 次提交
  15. 07 1月, 2016 3 次提交
  16. 31 12月, 2015 1 次提交
  17. 23 12月, 2015 3 次提交
  18. 20 11月, 2015 1 次提交
  19. 17 9月, 2015 1 次提交
  20. 18 7月, 2015 1 次提交
  21. 11 7月, 2015 1 次提交
  22. 09 7月, 2015 1 次提交
  23. 07 7月, 2015 2 次提交
  24. 19 6月, 2015 1 次提交
    • R
      ASoC: wm_adsp: Move DSP Rate controls into the codec · 336d0442
      Richard Fitzgerald 提交于
      The rate controls are codec-specific, it's not possible to
      generically say what the range or the meaning of each control
      is (or even if they exist at all) - that depends on the
      particular codec.
      
      This is currently being handled for Arizona codecs by putting
      an Arizona-specific table of controls inside the wm_adsp driver.
      This creates a dependency between wm_adsp and arizona.c, and is an
      awkward solution if the ADSP is used in another family of codecs
      
      Fix this by moving the Arizona-specific rate controls into the
      Arizona codec drivers.
      Signed-off-by: NRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      336d0442
  25. 11 6月, 2015 2 次提交
  26. 03 6月, 2015 1 次提交
  27. 01 6月, 2015 1 次提交
  28. 28 5月, 2015 1 次提交