From: David Woodhouse Date: Tue, 27 Jan 2009 03:16:12 +0000 (+1100) Subject: solos: Clean up firmware loading code X-Git-Tag: v2.6.30-rc1~662^2~172^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa755b9f2b03df1e0fa6d01b8949bbc778705973;p=pandora-kernel.git solos: Clean up firmware loading code We no longer try to load firmware while the ATM is up and running. However, this means that we _do_ make init_module() wait for it, and it takes a long time for now (since we're using ultra-conservative code in the FPGA for that too). The inner loop which uses swahb32p() was by Simon Farnsworth. Simon has patches which migrate us to request_firmware_nowait(), for which we'll actually need to take down the ATM devices, do the upgrade, then reregister them. Signed-off-by: David Woodhouse --- Reading git-diff-tree failed