mmc: pwrseq: Add reset callback to the struct mmc_pwrseq_ops
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 8 May 2017 21:49:12 +0000 (23:49 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 20 Jun 2017 08:30:09 +0000 (10:30 +0200)
commit773a9ef85f02f6a82f58244f33cb628ad1ecac21
treecdaa4491b80451ccbb9e40e41efa795a99185bb7
parentdada0194ab45b896c6bae5ce89eb78cf52e215d4
mmc: pwrseq: Add reset callback to the struct mmc_pwrseq_ops

The ->reset() callback is needed to implement a better support for eMMC HW
reset. The following changes will take advantage of the new callback.

Suggested-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
drivers/mmc/core/pwrseq.c
drivers/mmc/core/pwrseq.h