[PATCH] sdio: fix suspend/resume regression

Nicolas Pitre nico at fluxnic.net
Thu Oct 21 19:57:45 EDT 2010


On Fri, 22 Oct 2010, Maxim Levitsky wrote:

> This reintroduces the bug I fixed.
> 
> if the CONFIG_MMC_UNSAFE_RESUME isn't set (and that is default
> unfortunately), the host->bus_ops->resume will be NULL (see core/mmc.c
> mmc_ops), and therefore card will be removed, that will trigger a block
> device removal, sync, and deadlock).

Maybe mmc_ops should have a non NULL resume method then?


Nicolas



More information about the linux-arm-kernel mailing list