[linux-dvb] [OT] request_firmware()

Michael Krufky mkrufky at linuxtv.org
Thu Feb 14 21:54:35 CET 2008


On Thu, Feb 14, 2008 at 3:37 PM, Thomas Kaiser
<linux-dvb at kaiser-linux.li> wrote:
> Hello
>
>  I know this is the wrong list to ask, but you use this function (see subject)
>  and I think somebody can answer my question.
>
>  Why does request_firmware need a device as parameter?
>  int request_firmware(const struct firmware **fw, const char *name,
>                      struct device *device);
>
>  I thought request_firmware just loads the firmware in the struct firmware?


IIRC, when the device is destroyed, it is a signal for the memory used
to store the firmware to be freed if not done already.

-Mike



More information about the linux-dvb mailing list