Re: [PATCH] sdio: fix nasty oops in mmc_sdio_detect

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

 



Hi Ohad,

On Sun, Nov 14, 2010 at 12:40:33PM +0200, Ohad Ben-Cohen wrote:
> Power off the card in mmc_sdio_detect __before__ a potential error
> handler, which completely removes the card, executes, and only if the
> card was successfully powered on beforehand.
> 
> While we're at it, use the _sync variant of the runtime PM put API, in
> order to ensure that the card is left powered off in case an error
> occurred, and the card is going to be removed.
> 
> Reproduced and tested on the XO-1.5.
> 
> Reported-by: Daniel Drake <dsd@xxxxxxxxxx>
> Signed-off-by: Ohad Ben-Cohen <ohad@xxxxxxxxxx>

Thanks, pushed to for-linus/mmc-next for 2.6.37.

-- 
Chris Ball   <cjb@xxxxxxxxxx>   <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 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