diff mbox

[2/4] mmc: pwrseq: implement reset operation in pwrseq_emmc

Message ID ea0583ff-8e41-9833-cc7c-638ff6c1d476@gmail.com (mailing list archive)
State Changes Requested
Headers show

Commit Message

Heiner Kallweit Feb. 8, 2017, 9:49 p.m. UTC
In pwrseq_emmc a reset function exists already and just needs to
be exposed as reset hook.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
---
 drivers/mmc/core/pwrseq_emmc.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/drivers/mmc/core/pwrseq_emmc.c b/drivers/mmc/core/pwrseq_emmc.c
index adc9c0c6..a30e7352 100644
--- a/drivers/mmc/core/pwrseq_emmc.c
+++ b/drivers/mmc/core/pwrseq_emmc.c
@@ -57,6 +57,7 @@  static int mmc_pwrseq_emmc_reset_nb(struct notifier_block *this,
 
 static const struct mmc_pwrseq_ops mmc_pwrseq_emmc_ops = {
 	.post_power_on = mmc_pwrseq_emmc_reset,
+	.reset = mmc_pwrseq_emmc_reset,
 };
 
 static int mmc_pwrseq_emmc_probe(struct platform_device *pdev)