1. 31 7月, 2013 1 次提交
  2. 06 7月, 2013 2 次提交
  3. 28 6月, 2013 2 次提交
    • G
      mmc: sdhci: fix caps2 for HS200 · 156e14b1
      Giuseppe CAVALLARO 提交于
      Although the HC supports HS200 (eMMC) the caps2 are always zero; this
      means there's no way to use the super speed mode (when init the card).
      
      If the HC support SDR104, for SD3.0, so it also supports HS200 for eMMC
      and this patch just sets the MMC_CAP2_HS200 in the host caps2 field.
      Reported-by: NYoussef Triki <youssef.triki@st.com>
      Signed-off-by: NGiuseppe Cavallaro <peppe.cavallaro@st.com>
      Reviewed-by: NPhilip Rakity <prakity@nvidia.com>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      156e14b1
    • S
      mmc: sdhci: improve card removal check in sdhci_card_event() · 9668d765
      Shawn Guo 提交于
      The following error randomly appears on an imx6q board where gpio is
      used to implement card-detection when mounting EXT4 rootfs during boot.
      
      mmc1: Card removed during transfer!
      mmc1: Resetting controller.
      mmcblk0: unknown error -123 sending read/write command, card status 0x900
      end_request: I/O error, dev mmcblk0, sector 106744
      EXT4-fs error (device mmcblk0p2): ext4_find_entry:1312: inode #5011: comm swapper/0: reading directory lblock 0
      
      It turns out that the error message comes from the card removal check
      in function sdhci_card_event().  While we have a well implemented
      function sdhci_do_get_cd() handling all the possible cases of
      CD, the current code only checks controller internal CD case.  That
      causes problem for other CD cases like gpio on above imx6q board.
      
      Improve the check by using sdhci_do_get_cd() to cover all possible CD
      cases, so that above error on the imx6q board gets fixed.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      9668d765
  4. 27 5月, 2013 1 次提交
  5. 23 3月, 2013 2 次提交
  6. 25 2月, 2013 5 次提交
  7. 12 2月, 2013 4 次提交
  8. 28 1月, 2013 4 次提交
  9. 08 12月, 2012 1 次提交
  10. 07 12月, 2012 4 次提交
  11. 08 11月, 2012 3 次提交
  12. 08 10月, 2012 1 次提交
  13. 19 9月, 2012 1 次提交
    • G
      mmc: sdhci: Test cd-gpio instead of SDHCI presence when probing · bec9d4e5
      Guennadi Liakhovetski 提交于
      Previously to this patch, an SDHCI platform that uses a GPIO for
      card detection instead of the internal SDHCI_CARD_PRESENT bit on
      the presence register would fail to detect a new card.
      
      Some drivers worked around this in various ways: esdhc-imx defines
      an IO accessor to fake the presence bit being true, s3c turns on
      polling (which stops the SDHCI driver from checking the bit) after
      a card's inserted.  But none of this should be necessary; the real
      fix is to check whether we're using a GPIO and avoid relying on
      the presence bit if so, as this patch implements.
      Signed-off-by: NGuennadi Liakhovetski <g.liakhovetski@gmx.de>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      bec9d4e5
  14. 05 9月, 2012 2 次提交
  15. 23 7月, 2012 7 次提交