Scroll to navigation

REQUEST_FIRMWARE_DIR(9) Device drivers infrastructure REQUEST_FIRMWARE_DIR(9)

NAME

request_firmware_direct - load firmware directly without usermode helper

SYNOPSIS

int request_firmware_direct(const struct firmware ** firmware_p, const char * name, struct device * device);

ARGUMENTS

firmware_p
pointer to firmware image
name
name of firmware file
device
device for which firmware is being loaded

DESCRIPTION

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.

COPYRIGHT

May 2018 Kernel Hackers Manual 3.16