1. 02 4月, 2013 1 次提交
  2. 13 2月, 2013 1 次提交
  3. 11 2月, 2013 1 次提交
  4. 08 2月, 2013 1 次提交
  5. 07 2月, 2013 1 次提交
  6. 05 2月, 2013 3 次提交
  7. 15 12月, 2012 1 次提交
  8. 11 12月, 2012 1 次提交
  9. 08 12月, 2012 1 次提交
  10. 07 12月, 2012 2 次提交
  11. 06 12月, 2012 1 次提交
    • M
      spi: Remove SPI_BUFSIZ restriction on spi_write_then_read() · b3a223ee
      Mark Brown 提交于
      In order to avoid constantly allocating and deallocating there is a fixed
      buffer which spi_write_then_read() uses for transfers, with an early error
      check to ensure that the transfer fits within the buffer. This limits the
      size of transfers to this size, currently max(32, SMP_CACHE_BYTES).
      
      Since we can dynamically allocate and in fact already have a fallback
      to do so when there is contention for the fixed buffer remove this
      restriction and instead dynamically allocate a suitably sized buffer if
      the transfer won't fit.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      b3a223ee
  12. 30 11月, 2012 2 次提交
  13. 22 11月, 2012 1 次提交
  14. 10 11月, 2012 2 次提交
  15. 21 5月, 2012 1 次提交
  16. 20 5月, 2012 1 次提交
  17. 11 5月, 2012 1 次提交
  18. 14 4月, 2012 1 次提交
  19. 15 3月, 2012 1 次提交
  20. 11 3月, 2012 1 次提交
  21. 10 3月, 2012 2 次提交
  22. 08 3月, 2012 1 次提交
    • L
      spi: create a message queueing infrastructure · ffbbdd21
      Linus Walleij 提交于
      This rips the message queue in the PL022 driver out and pushes
      it into (optional) common infrastructure. Drivers that want to
      use the message pumping thread will need to define the new
      per-messags transfer methods and leave the deprecated transfer()
      method as NULL.
      
      Most of the design is described in the documentation changes that
      are included in this patch.
      
      Since there is a queue that need to be stopped when the system
      is suspending/resuming, two new calls are implemented for the
      device drivers to call in their suspend()/resume() functions:
      spi_master_suspend() and spi_master_resume().
      
      ChangeLog v1->v2:
      - Remove Kconfig entry and do not make the queue support optional
        at all, instead be more agressive and have it as part of the
        compulsory infrastructure.
      - If the .transfer() method is implemented, delete print a small
        deprecation notice and do not start the transfer pump.
      - Fix a bitrotted comment.
      ChangeLog v2->v3:
      - Fix up a problematic sequence courtesy of Chris Blair.
      - Stop rather than destroy the queue on suspend() courtesy of
        Chris Blair.
      Signed-off-by: NChris Blair <chris.blair@stericsson.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Tested-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Reviewed-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      ffbbdd21
  23. 14 12月, 2011 1 次提交
  24. 01 11月, 2011 1 次提交
  25. 06 6月, 2011 1 次提交
  26. 20 5月, 2011 1 次提交
  27. 31 3月, 2011 1 次提交
  28. 25 12月, 2010 1 次提交
  29. 23 12月, 2010 1 次提交
  30. 22 10月, 2010 2 次提交
  31. 03 10月, 2010 1 次提交
  32. 01 9月, 2010 1 次提交
  33. 30 7月, 2010 1 次提交