1. 18 4月, 2013 1 次提交
  2. 17 4月, 2013 1 次提交
  3. 08 4月, 2013 1 次提交
  4. 26 3月, 2013 3 次提交
  5. 31 1月, 2013 1 次提交
  6. 09 12月, 2012 1 次提交
  7. 23 11月, 2012 1 次提交
  8. 05 11月, 2012 1 次提交
  9. 22 10月, 2012 2 次提交
  10. 16 10月, 2012 2 次提交
  11. 20 9月, 2012 4 次提交
  12. 21 8月, 2012 1 次提交
    • J
      ASoC: ux500_msp_i2s: better use devm functions and fix error return code · b18e93a4
      Julia Lawall 提交于
      Remove unnecessary calls to devm_kfree and replace iounmap by devm_iounmap
      (and use resource_size for the third argument).  These changes make it
      possible to remove the error-handling code at the end of
      ux500_msp_i2s_init_msp, and all of the gotos become direct returns.
      
      In the case of the second call to devm_kzalloc, the return variable ret was
      not initialized.  Here it is changed to a direct return of -ENOMEM.
      
      A simplified version of the semantic match that finds the second problem is as
      follows: (http://coccinelle.lip6.fr/)
      
      // <smpl>
      (
      if@p1 (\(ret < 0\|ret != 0\))
       { ... return ret; }
      |
      ret@p1 = 0
      )
      ... when != ret = e1
          when != &ret
      *if(...)
      {
        ... when != ret = e2
            when forall
       return ret;
      }
      
      // </smpl>
      Signed-off-by: NJulia Lawall <Julia.Lawall@lip6.fr>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      b18e93a4
  13. 04 8月, 2012 1 次提交
  14. 26 7月, 2012 1 次提交
  15. 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
  16. 18 6月, 2012 1 次提交
  17. 13 6月, 2012 1 次提交
  18. 03 6月, 2012 1 次提交
  19. 10 5月, 2012 2 次提交
  20. 09 5月, 2012 1 次提交