libertas: [spi] use common firmware request helper and new firmware locations
linux-firmware puts libertas firmware in /libertas. Fix the driver to look there first, but fall back to the old firmware names if the new ones don't exist. Add preference for newer firmware versions too. Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
3d32a58b87
commit
915a824e30
@@ -25,11 +25,6 @@
|
||||
|
||||
#define IF_SPI_FW_NAME_MAX 30
|
||||
|
||||
struct chip_ident {
|
||||
u16 chip_id;
|
||||
u16 name;
|
||||
};
|
||||
|
||||
#define MAX_MAIN_FW_LOAD_CRC_ERR 10
|
||||
|
||||
/* Chunk size when loading the helper firmware */
|
||||
|
Reference in New Issue
Block a user