From: Inaky Perez-Gonzalez Date: Thu, 17 Sep 2009 01:23:27 +0000 (-0700) Subject: wimax/i2400m: introduce i2400m->bus_setup/release X-Git-Tag: v2.6.33-rc1~388^2~487^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0856ccf29dfbaf957e4be80dd3eb88d97810b633;p=pandora-kernel.git wimax/i2400m: introduce i2400m->bus_setup/release The SDIO subdriver of the i2400m requires certain steps to be done before we do any acces to the device, even for doing firmware upload. This lead to a few ugly hacks, which basically involve doing those steps in probe() before calling i2400m_setup() and undoing them in disconnect() after claling i2400m_release(); but then, much of those steps have to be repeated when resetting the device, suspending, etc (in upcoming pre/post reset support). Thus, a new pair of optional, bus-specific calls i2400m->bus_{setup/release} are introduced. These are used to setup basic infrastructure needed to load firmware onto the device. This commit also updates the SDIO subdriver to use said calls. Signed-off-by: Inaky Perez-Gonzalez --- Reading git-diff-tree failed