staging: wfx: fix firmware location
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Thu, 13 Jan 2022 08:55:21 +0000 (09:55 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jan 2022 15:19:42 +0000 (16:19 +0100)
There is currently, a mismatch between the location of the firmware in
linux-firmware and the path written in the driver.

We take this opportunity to relocate the WF200 firmware in wfx/ instead
of silabs/.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20220113085524.1110708-29-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/bus_sdio.c
drivers/staging/wfx/bus_spi.c

index 361585763f30168cc9b934fcf3c81398d54b2137..6ead6957b7516fe02cd4f1819b931b962e0e1743 100644 (file)
 #include "bh.h"
 
 static const struct wfx_platform_data pdata_wf200 = {
-       .file_fw = "wfm_wf200",
-       .file_pds = "wf200.pds",
+       .file_fw = "wfx/wfm_wf200",
+       .file_pds = "wfx/wf200.pds",
 };
 
 static const struct wfx_platform_data pdata_brd4001a = {
-       .file_fw = "wfm_wf200",
-       .file_pds = "brd4001a.pds",
+       .file_fw = "wfx/wfm_wf200",
+       .file_pds = "wfx/brd4001a.pds",
 };
 
 static const struct wfx_platform_data pdata_brd8022a = {
-       .file_fw = "wfm_wf200",
-       .file_pds = "brd8022a.pds",
+       .file_fw = "wfx/wfm_wf200",
+       .file_pds = "wfx/brd8022a.pds",
 };
 
 static const struct wfx_platform_data pdata_brd8023a = {
-       .file_fw = "wfm_wf200",
-       .file_pds = "brd8023a.pds",
+       .file_fw = "wfx/wfm_wf200",
+       .file_pds = "wfx/brd8023a.pds",
 };
 
 /* Legacy DT don't use it */
index 9aa52d76cdda8797e10de96c6034b4abec61eb05..6b4f9fff8b44b08a21f548b49d6071c48b870b6c 100644 (file)
 #define SET_READ 0x8000         /* usage: or operation */
 
 static const struct wfx_platform_data pdata_wf200 = {
-       .file_fw = "wfm_wf200",
-       .file_pds = "wf200.pds",
+       .file_fw = "wfx/wfm_wf200",
+       .file_pds = "wfx/wf200.pds",
        .use_rising_clk = true,
 };
 
 static const struct wfx_platform_data pdata_brd4001a = {
-       .file_fw = "wfm_wf200",
-       .file_pds = "brd4001a.pds",
+       .file_fw = "wfx/wfm_wf200",
+       .file_pds = "wfx/brd4001a.pds",
        .use_rising_clk = true,
 };
 
 static const struct wfx_platform_data pdata_brd8022a = {
-       .file_fw = "wfm_wf200",
-       .file_pds = "brd8022a.pds",
+       .file_fw = "wfx/wfm_wf200",
+       .file_pds = "wfx/brd8022a.pds",
        .use_rising_clk = true,
 };
 
 static const struct wfx_platform_data pdata_brd8023a = {
-       .file_fw = "wfm_wf200",
-       .file_pds = "brd8023a.pds",
+       .file_fw = "wfx/wfm_wf200",
+       .file_pds = "wfx/brd8023a.pds",
        .use_rising_clk = true,
 };