1. 07 12月, 2012 2 次提交
  2. 08 11月, 2012 3 次提交
  3. 08 10月, 2012 1 次提交
  4. 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
  5. 05 9月, 2012 2 次提交
  6. 23 7月, 2012 8 次提交
  7. 21 7月, 2012 3 次提交
  8. 06 6月, 2012 1 次提交
  9. 22 4月, 2012 1 次提交
  10. 21 4月, 2012 1 次提交
    • D
      mmc: sdhci: refine non-removable card checking for card detection · 87b87a3f
      Daniel Drake 提交于
      Commit c79396c1 ("mmc: sdhci: prevent card detection activity
      for non-removable cards") disables card detection where the cards
      are marked as non-removable.
      
      This makes sense, but the implementation detail of calling
      mmc_card_is_removable() causes some problems, because
      mmc_card_is_removable() is overloaded with CONFIG_MMC_UNSAFE_RESUME
      semantics.
      
      In the OLPC XO case, we need CONFIG_MMC_UNSAFE_RESUME because our root
      filesystem is stored on SD, but we also have external SD card slots
      where we want automatic card detection.
      
      Refine the check to only apply to hosts marked as MMC_CAP_NONREMOVABLE,
      which is defined to mean that the card is *really* nonremovable. This
      could be revisited in future if we find a way to improve
      CONFIG_MMC_UNSAFE_RESUME semantics.
      Signed-off-by: NDaniel Drake <dsd@laptop.org>
      Acked-by: NChuanxiao Dong <chuanxiao.dong@intel.com>
      [stable@: please apply to 3.3-stable]
      Cc: stable <stable@vger.kernel.org>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      87b87a3f
  11. 06 4月, 2012 1 次提交
  12. 28 3月, 2012 2 次提交
  13. 26 3月, 2012 1 次提交
  14. 13 1月, 2012 5 次提交
  15. 12 1月, 2012 6 次提交
  16. 20 12月, 2011 1 次提交
  17. 27 10月, 2011 1 次提交