Re: [PATCH] mmc: at91_mci: reorder timer setup and mmc_add_host()call

From: Pierre Ossman
Date: Sun Nov 30 2008 - 17:53:19 EST


On Thu, 27 Nov 2008 17:23:49 +0100
Nicolas Ferre <nicolas.ferre@xxxxxxxxx> wrote:

> As said in function comment mmc_add_host() requires that:
> "The host must be prepared to start servicing requests
> before this function completes."
>
> During this function, at91_mci_request() can be invoqued
> without timer beeing setup leading to a kernel Oops.
> This has been reported inserting this driver as a module.
>
> Signed-off-by: Nicolas Ferre <nicolas.ferre@xxxxxxxxx>
> Reported-by: Wu Xuan <wux@xxxxxxxxxxxxx>
> ---

Queued up.


--
-- Pierre Ossman

WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.

Attachment: signature.asc
Description: PGP signature