request_firmware — send firmware request and wait for it
int request_firmware ( | const struct firmware ** firmware_p, |
| const char * name, | |
struct device * device); |
firmware_ppointer to firmware image
namename of firmware file
devicedevice for which firmware is being loaded
firmware_p will be used to return a firmware image by the name
of name for device device.
Should be called from user context where sleeping is allowed.
name will be used as $FIRMWARE in the uevent environment and
should be distinctive enough not to be confused with any other
firmware image for this or any other device.
Caller must hold the reference count of device.
The function can be called safely inside device's suspend and resume callback.