1. 12 Apr, 2013 8 commits
  2. 08 Apr, 2013 1 commit
    • Terry Barnaby's avatar
      mmc: atmel-mci: pio hang on block errors · bdbc5d0c
      Terry Barnaby authored
      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: default avatarTerry Barnaby <terry@beam.ltd.uk>
      Acked-by: default avatarLudovic Desroches <ludovic.desroches@atmel.com>
      Cc: stable <stable@vger.kernel.org> # 3.2+
      Signed-off-by: default avatarChris Ball <cjb@laptop.org>
      bdbc5d0c
  3. 04 Apr, 2013 10 commits
  4. 22 Mar, 2013 21 commits