diff options
author | Nicolas Ferre <nicolas.ferre@atmel.com> | 2008-11-27 17:23:49 +0100 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2008-11-30 23:52:44 +0100 |
commit | 99ba04053a3712498327bd147c22a9877100a904 (patch) | |
tree | aa81411e14d3be918c1dfa6738d2ec0d8f9b143a /ipc/util.c | |
parent | 8decec78a3d9e240f14553284629ac4851ff3744 (diff) | |
download | op-kernel-dev-99ba04053a3712498327bd147c22a9877100a904.zip op-kernel-dev-99ba04053a3712498327bd147c22a9877100a904.tar.gz |
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 <nicolas.ferre@atmel.com>
Reported-by: Wu Xuan <wux@landicorp.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions