From: Inaky Perez-Gonzalez Date: Thu, 8 Oct 2009 03:36:03 +0000 (+0900) Subject: wimax/i2400m: SDIO: fix oops on reset when TXing on uninitialized data X-Git-Tag: v2.6.33-rc1~388^2~487^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8ee303cae6fbdaa639afa50b9d03ce6f0c7d7da;p=pandora-kernel.git wimax/i2400m: SDIO: fix oops on reset when TXing on uninitialized data Currently the SDIO part of the TX resources were initialized/released with bus_dev_{start,stop}. The generic code's TX subsystem is destroyed afterwards, so there is a window from the bus-TX destruction to the generic-TX destruction where the generic-TX code might call into bus-TX to do transactions. The SDIO code cannot really cope with this (whereas in USB, how it is laid out, it correctly ignores it). In any case, it made no sense for the SDIO TX code to be in i2400m->bus_dev_start/stop(), so moved to i2400m->bus_setup/release(), which also takes care of the oops. Signed-off-by: Inaky Perez-Gonzalez --- Reading git-diff-tree failed