summaryrefslogtreecommitdiff
path: root/io-module
diff options
context:
space:
mode:
authorMike Nicholson <mike.nicholson@multitech.com>2018-12-19 14:02:07 -0600
committerMike Nicholson <mike.nicholson@multitech.com>2018-12-19 14:02:07 -0600
commit331a7d82837a4d47005a9f72cf0d1f6089a88315 (patch)
tree4a732ed4571ae7e8af886b96337837df2d8699fd /io-module
parent12e7ef3287468c4da7fbcad0d576d2e33e408c01 (diff)
downloadmts-io-331a7d82837a4d47005a9f72cf0d1f6089a88315.tar.gz
mts-io-331a7d82837a4d47005a9f72cf0d1f6089a88315.tar.bz2
mts-io-331a7d82837a4d47005a9f72cf0d1f6089a88315.zip
Call request_firmware_direct (no userspace helper)
Diffstat (limited to 'io-module')
-rw-r--r--io-module/mts-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io-module/mts-io.c b/io-module/mts-io.c
index e878800..8f7739e 100644
--- a/io-module/mts-io.c
+++ b/io-module/mts-io.c
@@ -577,7 +577,7 @@ mts_id_eeprom_load(void)
const struct firmware* fw = NULL;
/* Attempt to load the mts-io driver */
- if((ret = request_firmware(&fw, "mts_eeprom.bin", &mts_io_platform_device->dev)) == 0) {
+ if((ret = request_firmware_direct(&fw, "0-0056/eeprom", &mts_io_platform_device->dev)) == 0) {
if(fw->size == sizeof(id_eeprom)) {
memcpy(&id_eeprom, fw->data, sizeof(id_eeprom));
log_info("Platform EEPROM contents loaded");