Make the mmc_hw_reset routines more generic, so we can easily add a
power cycle of SD cards as well. Also simplify the (e)MMC specific
parts of the reset code.

As I don't have an eMMC device myself, much less one with a reset line,
I'd be very happy if someone could help me test the code with an eMMC?

Johan Rudholm (4):
  mmc: core: use mmc_send_status to check hw_reset
  mmc: core: use mmc_power_up in hw_reset
  mmc: core: make hw_reset generic
  mmc: sd: add power_reset callback

 drivers/mmc/card/block.c    |    2 +-
 drivers/mmc/card/mmc_test.c |    5 +--
 drivers/mmc/core/core.c     |   73 ++++++++-----------------------------------
 drivers/mmc/core/core.h     |    4 ++
 drivers/mmc/core/mmc.c      |   40 +++++++++++++++++++++++
 drivers/mmc/core/sd.c       |   16 +++++++++
 include/linux/mmc/core.h    |    5 +--
 7 files changed, 77 insertions(+), 68 deletions(-)

-- 
1.7.2.5

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to