This patch version fixes the problem with power off notify function, when called for the first time and card is not yet initialised. Earlier version will generate a core dump, so a check for NULL is required in the power off function. Girish K S (2): mmc: core: Add power off notify feature(eMMC 4.5) mmc: core: Add Poweroff Notify handling eMMC 4.5 drivers/mmc/core/core.c | 34 ++++++++++++++++++++++++++++++++++ drivers/mmc/core/mmc.c | 22 ++++++++++++++++++++-- drivers/mmc/host/sdhci.c | 10 ++++++++++ include/linux/mmc/card.h | 20 ++++++++++++++++++++ include/linux/mmc/host.h | 5 +++++ include/linux/mmc/mmc.h | 7 +++++++ 6 files changed, 96 insertions(+), 2 deletions(-) -- 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