Skip to content

Commit b4a87bc

Browse files
jwrdegoedegregkh
authored andcommitted
Input: silead - Switch to firmware_request_platform for retreiving the fw
Unfortunately sofar we have been unable to get permission to redistribute Silead touchscreen firmwares in linux-firmware. This means that people need to find and install the firmware themselves before the touchscreen will work Some UEFI/x86 tablets with a Silead touchscreen have a copy of the fw embedded in their UEFI boot-services code. This commit makes the silead driver use the new firmware_request_platform function, which will fallback to looking for such an embedded copy when direct filesystem lookup fails. This will make the touchscreen work OOTB on devices where there is a fw copy embedded in the UEFI code. Acked-by: Dmitry Torokhov <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 27d05ed commit b4a87bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/input/touchscreen/silead.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ static int silead_ts_load_fw(struct i2c_client *client)
288288

289289
dev_dbg(dev, "Firmware file name: %s", data->fw_name);
290290

291-
error = request_firmware(&fw, data->fw_name, dev);
291+
error = firmware_request_platform(&fw, data->fw_name, dev);
292292
if (error) {
293293
dev_err(dev, "Firmware request error %d\n", error);
294294
return error;

0 commit comments

Comments
 (0)