Load firmware directly without usermode helper
int request_firmware_direct(const struct firmware ** firmware_p, const char * name, struct device * device);
firmware_p
pointer to firmware image
name
name of firmware file
device
device for which firmware is being loaded
This function works pretty much like request_firmware, but this doesn't fall back to usermode helper even if the firmware couldn't be loaded directly from fs. Hence it's useful for loading optional firmwares, which aren't always present, without extra long timeouts of udev.