1. 02 5月, 2016 1 次提交
  2. 17 3月, 2016 1 次提交
  3. 29 2月, 2016 1 次提交
  4. 14 1月, 2016 2 次提交
  5. 22 12月, 2015 2 次提交
  6. 27 8月, 2015 1 次提交
  7. 18 5月, 2015 1 次提交
  8. 13 12月, 2014 1 次提交
  9. 02 12月, 2014 4 次提交
  10. 26 11月, 2014 2 次提交
  11. 10 11月, 2014 3 次提交
  12. 29 9月, 2014 1 次提交
    • A
      mmc: atmel-mci: fix mismatched section on atmci_cleanup_slot · 5fef365b
      Arnd Bergmann 提交于
      As of 528bc780 ("mmc: atmel-mci: Release mmc resources on failure in probe"),
      the atmci_probe() function calls atmci_cleanup_slot in the failure path.
      
      This causes a new warning whenever the driver is built:
      
      WARNING: drivers/mmc/host/built-in.o(.init.text+0xa04): Section mismatch in reference from the function atmci_probe() to the function .exit.text:atmci_cleanup_slot()
      The function __init atmci_probe() references
      a function __exit atmci_cleanup_slot().
      
      Gcc correctly warns about this function getting dropped in the link stage
      for the built-in case, which would cause undefined behavior when this error
      path is hit. The solution is to simply drop the __exit annotation.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: 528bc780 ("mmc: atmel-mci: Release mmc resources on failure in probe")
      Acked-by: NLudovic Desroches <ludovic.desroches@atmel.com>
      Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
      5fef365b
  13. 24 9月, 2014 2 次提交
  14. 09 9月, 2014 1 次提交
  15. 12 6月, 2014 1 次提交
  16. 13 5月, 2014 1 次提交
  17. 14 1月, 2014 2 次提交
  18. 31 10月, 2013 1 次提交
  19. 26 9月, 2013 2 次提交
  20. 25 8月, 2013 1 次提交
  21. 27 6月, 2013 1 次提交
  22. 27 5月, 2013 3 次提交
  23. 09 4月, 2013 1 次提交
    • T
      mmc: atmel-mci: pio hang on block errors · bdbc5d0c
      Terry Barnaby 提交于
      The driver is doing, by default, multi-block reads. When a block error
      occurs, card/block.c instigates a single block read: "mmcblk0: retrying
      using single block read".  It leaves the sg chain intact and just changes
      the length attribute for the first sg entry and the overall sg_len
      parameter.  When atmci_read_data_pio is called to read the single block
      of data it ignores the sg_len and expects to read more than 512 bytes as
      it sees there are multiple items in the sg list. No more data comes as
      the controller has only been commanded to get one block.
      Signed-off-by: NTerry Barnaby <terry@beam.ltd.uk>
      Acked-by: NLudovic Desroches <ludovic.desroches@atmel.com>
      Cc: stable <stable@vger.kernel.org> # 3.2+
      Signed-off-by: NChris Ball <cjb@laptop.org>
      bdbc5d0c
  24. 23 3月, 2013 1 次提交
  25. 29 11月, 2012 1 次提交
  26. 06 11月, 2012 1 次提交
  27. 03 10月, 2012 1 次提交