1. 13 5月, 2013 6 次提交
  2. 22 4月, 2013 3 次提交
  3. 17 4月, 2013 1 次提交
  4. 01 4月, 2013 1 次提交
  5. 27 3月, 2013 1 次提交
  6. 26 3月, 2013 1 次提交
  7. 23 1月, 2013 1 次提交
  8. 09 1月, 2013 1 次提交
    • F
      ASoC: mxs-saif: Use a signed integer for error value · 324a7fb0
      Fabio Estevam 提交于
      saif->id and saif->master_id are unsigned, so they can not be negative.
      
      Fix the following warning when building with W=1 option:
      
      sound/soc/mxs/mxs-saif.c: In function 'mxs_saif_probe':
      sound/soc/mxs/mxs-saif.c:676:2: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
      sound/soc/mxs/mxs-saif.c:688:3: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
      sound/soc/mxs/mxs-saif.c:692:2: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
      
      Use a signed variable 'ret' to handle the error values.
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      324a7fb0
  9. 08 1月, 2013 1 次提交
  10. 09 12月, 2012 1 次提交
  11. 28 11月, 2012 1 次提交
  12. 02 11月, 2012 1 次提交
  13. 01 11月, 2012 1 次提交
  14. 08 8月, 2012 1 次提交
  15. 07 8月, 2012 1 次提交
  16. 25 7月, 2012 2 次提交
  17. 20 6月, 2012 1 次提交
    • L
      ASoC: dmaengine-pcm: Rename and deprecate snd_dmaengine_pcm_pointer · 9883ab22
      Lars-Peter Clausen 提交于
      Currently the sound dmaengine pcm helper functions implement the pcm_pointer
      callback by trying to count the number of elapsed periods. This is done by
      advancing the stream position in the dmaengine callback by one period.
      Unfortunately there is no guarantee that the callback will be called for each
      elapsed period. It may be possible that under high system load it is only called
      once for multiple elapsed periods. This patch renames the current implementation
      and documents its shortcomings and that it should not be used anymore in new
      drivers.
      
      The next patch will introduce a new snd_dmaengine_pcm_pointer which will be
      implemented based on querying the current stream position from the dma device.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Acked-by Vinod Koul <vinod.koul@linux.intel.com>
      Acked-by: Dong Aisheng <dong.aisheng@linaro.org
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      9883ab22
  18. 03 6月, 2012 1 次提交
    • S
      ASoC: make snd_soc_dai_link more symmetrical · bc92657a
      Stephen Warren 提交于
      Prior to this patch, the CPU side of a DAI link was specified using a
      single name. Often, this was the result of calling dev_name() on the
      device providing the DAI, but in the case of a CPU DAI driver that
      provided multiple DAIs, it needed to mix together both the device name
      and some device-relative name, in order to form a single globally unique
      name.
      
      However, the CODEC side of the DAI link was specified using separate
      fields for device (name or OF node) and device-relative DAI name.
      
      This patch allows the CPU side of a DAI link to be specified in the same
      way as the CODEC side, separating concepts of device and device-relative
      DAI name.
      
      I believe this will be important in multi-codec and/or dynamic PCM
      scenarios, where a single CPU driver provides multiple DAIs, while also
      booting using device tree, with accompanying desire not to hard-code the
      CPU side device's name into the original .cpu_dai_name field.
      
      Ideally, both the CPU DAI and CODEC DAI loops in soc_bind_dai_link()
      would now be identical. However, two things prevent that at present:
      
      1) The need to save rtd->codec for the CODEC side, which means we have
      to search for the CODEC explicitly, and not just the CODEC side DAI.
      
      2) Since we know the CODEC side DAI is part of a codec, and not just
      a standalone DAI, it's slightly more efficient to convert .codec_name/
      .codec_of_node into a codec first, and then compare each DAI's .codec
      field, since this avoids strcmp() on each DAI's CODEC's name within
      the loop.
      
      However, the two loops are essentially semantically equivalent.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      bc92657a
  19. 12 5月, 2012 4 次提交
  20. 10 5月, 2012 1 次提交
  21. 27 3月, 2012 1 次提交
  22. 21 3月, 2012 1 次提交
  23. 02 3月, 2012 1 次提交
  24. 22 2月, 2012 2 次提交
  25. 20 2月, 2012 1 次提交
  26. 11 2月, 2012 1 次提交
  27. 21 1月, 2012 1 次提交
    • F
      ASoC: mxs: Fix mxs-saif timeout · 6b35f924
      Fabio Estevam 提交于
      On a mx28evk board the following errors happens on mxs-sgtl5000 probe:
      
      [    0.660000] saif0_clk_set_rate: divider writing timeout
      [    0.670000] mxs-sgtl5000: probe of mxs-sgtl5000.0 failed with error -110
      [    0.670000] ALSA device list:
      [    0.680000]   No soundcards found.
      
      This timeout happens because clk_set_rate will result in writing to the DIV bits
      of register HW_CLKCTRL_SAIF0 with the saif clock gated (CLKGATE bit set to one).
      
      MX28 Reference states the following about CLKGATE:
      
      "The DIV field can change ONLY when this clock gate bit field is low."
      
      So call clk_prepare_enable prior to clk_set_rate to fix this problem.
      
      After this change the mxs-saif driver can be correctly probed and audio is functional.
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      6b35f924
  28. 29 12月, 2011 1 次提交