Re: [PATCH] Revert "mmc: core: Remove redundant ->power_restore() callback"

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

 



On 31 March 2016 at 22:25, Gwendal Grignou <gwendal@xxxxxxxxxxxx> wrote:
> This reverts commit 364549ddc29d ("mmc: core: Remove redundant
> ->power_restore() callback for MMC")
> and commit 3056c49c35c1 ("mmc: core: Remove redundant
>  ->power_restore() callback for SD")
>
> ->power_restore() is called by mmc_host_power_restore(). For MMC, We can
> not use mmc_reset() instead, because the device may not have
> RST_n_FUNCTION set up.

I don't want to restore the callbacks.

Instead, let's be a bit more clever and try to extend mmc_reset() to
cover the MMC case as well. I haven't thought about that in detail,
but I think it should work.

[...]

Kind regards
Uffe
--
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