[PATCH 0/2] mmc: core: Fix the behaviour of pwrseq_emmc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In case if a pwrseq-emmc has been bound to the host, a call to mmc_power_up()
triggers an eMMC HW reset via the pwrseq_emmc's ->post_power_on() callback.
This isn't really what we want, as mmc_power_up() is called each time when
resuming the card.

Let's fix this behaviour and avoid doing the emmc HW reset unless really needed.

Ulf Hansson (2):
  mmc: pwrseq: Add reset callback to the struct mmc_pwrseq_ops
  mmc: core: Don't do eMMC HW reset when resuming the eMMC card

 drivers/mmc/core/core.c        | 2 ++
 drivers/mmc/core/mmc.c         | 2 ++
 drivers/mmc/core/pwrseq.c      | 8 ++++++++
 drivers/mmc/core/pwrseq.h      | 3 +++
 drivers/mmc/core/pwrseq_emmc.c | 2 +-
 5 files changed, 16 insertions(+), 1 deletion(-)

-- 
2.7.4

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



[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux