]> git.ipfire.org Git - thirdparty/linux.git/commit
wimax/i2400m: retry loading firmware files in sequence
authorInaky Perez-Gonzalez <inaky@linux.intel.com>
Thu, 3 Sep 2009 22:53:30 +0000 (15:53 -0700)
committerInaky Perez-Gonzalez <inaky@linux.intel.com>
Mon, 19 Oct 2009 06:55:54 +0000 (15:55 +0900)
commitebc5f62b76ad540ff7b3e438506638009e7812a6
tree3981373fb584478e1807ee347efc26e75d245d9c
parentaba3792ac2d7c808a2d2fd2adf89531e083bdb90
wimax/i2400m: retry loading firmware files in sequence

The i2400m firmware loader is given a list of firmware files to try to
load by the probe() function (which can be different based on the
device's model / generation).

Current code didn't attempt to load, check and try to boot with each
file, but just to try to load if off disk. This is limiting in some
cases, where we might want to try to load a firmware and if it fails
to load onto the device, just fall back to another one.

This changes the behaviour so all files are tried for being loaded
from disk, checked and uploaded to the device until one suceeds in
bringing the device up.

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
drivers/net/wimax/i2400m/fw.c