From: Nicolas Ferre Date: Thu, 27 Nov 2008 16:23:49 +0000 (+0100) Subject: mmc: at91_mci: reorder timer setup and mmc_add_host() call X-Git-Tag: v2.6.29-rc1~525^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99ba04053a3712498327bd147c22a9877100a904;p=pandora-kernel.git mmc: at91_mci: reorder timer setup and mmc_add_host() call 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 Reported-by: Wu Xuan Signed-off-by: Pierre Ossman --- Reading git-diff-tree failed