Hi Ulf,

On Tue, Sep 13 2011, Ulf Hansson wrote:
> During a rescan operation mmc_attach(sd|mmc|sdio) functions are
> called. The error handling in these function can trigger a detach
> of the bus, which also meant a power off. This is not notified by
> the rescan operation which then continues to the next attach function.
>
> If a power off has been done, the framework must never send any
> new commands to the host driver, without first doing a new power up.
> This will most likely trigger any host driver to hang.
>
> Moving power off out of detach and instead handle power off
> separately when it is actually needed, solves the issue.
>
> Signed-off-by: Ulf Hansson <[email protected]>

Thanks very much, merged to mmc-next with Linus W's ACK.

- Chris.
-- 
Chris Ball   <[email protected]>   <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to