1. 06 6月, 2011 1 次提交
  2. 26 5月, 2011 1 次提交
    • S
      ASoC: core: Don't schedule deferred_resume_work twice · 82e14e8b
      Stephen Warren 提交于
      For cards that have two or more DAIs, snd_soc_resume's loop over all
      DAIs ends up calling schedule_work(deferred_resume_work) once per DAI.
      Since this is the same work item each time, the 2nd and subsequent
      calls return 0 (work item already queued), and trigger the dev_err
      message below stating that a work item may have been lost.
      
      Solve this by adjusting the loop to simply calculate whether to run the
      resume work immediately or defer it, and then call schedule work (or not)
      one time based on that.
      
      Note: This has not been tested in mainline, but only in chromeos-2.6.38;
      mainline doesn't support suspend/resume on Tegra, nor does the mainline
      Tegra ASoC driver contain multiple DAIs. It has been compile-checked in
      mainline.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Acked-by: NLiam Girdwood <lrg@ti.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      82e14e8b
  3. 25 5月, 2011 1 次提交
  4. 24 5月, 2011 1 次提交
  5. 22 5月, 2011 1 次提交
  6. 17 5月, 2011 1 次提交
    • S
      ASoC: Silence DEBUG_STRICT_USER_COPY_CHECKS=y warning · 34e268d8
      Stephen Boyd 提交于
      Enabling DEBUG_STRICT_USER_COPY_CHECKS causes the following
      warning:
      
      In file included from arch/x86/include/asm/uaccess.h:573,
                       from include/linux/poll.h:14,
                       from include/sound/pcm.h:29,
                       from include/sound/ac97_codec.h:31,
                       from sound/soc/soc-core.c:34:
      In function 'copy_from_user',
          inlined from 'codec_reg_write_file' at
          sound/soc/soc-core.c:252:
      arch/x86/include/asm/uaccess_64.h:65:
      warning: call to 'copy_from_user_overflow' declared with
      attribute warning: copy_from_user() buffer size is not provably
      correct
      
      presumably due to buf_size being signed causing GCC to fail to
      see that buf_size can't become negative.
      Acked-by: NLiam Girdwood <lrg@ti.com>
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      34e268d8
  7. 12 5月, 2011 1 次提交
  8. 08 5月, 2011 1 次提交
  9. 04 5月, 2011 4 次提交
  10. 28 4月, 2011 3 次提交
  11. 20 4月, 2011 1 次提交
  12. 14 4月, 2011 1 次提交
  13. 12 4月, 2011 1 次提交
  14. 08 4月, 2011 1 次提交
  15. 07 4月, 2011 2 次提交
  16. 06 4月, 2011 1 次提交
  17. 03 4月, 2011 1 次提交
  18. 27 3月, 2011 3 次提交
  19. 18 3月, 2011 1 次提交
  20. 09 3月, 2011 5 次提交
  21. 07 3月, 2011 1 次提交
  22. 03 3月, 2011 3 次提交
  23. 03 2月, 2011 2 次提交
  24. 02 2月, 2011 1 次提交
  25. 01 2月, 2011 1 次提交