request_firmware()
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?
Thanks,
Thomas
Signature · 6 lines
http://www.kaiser-linux.li _______________________________________________ linux-dvb mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 10 lines · Thomas Kaiser
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_firmwareneed a device as parameter? int request_firmware(const struct firmware **fw, const char *name,struct device *device);I thought
request_firmwarejust 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
_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
Quoted 11 lines · Michael Krufky
Quoted 9 lines · Thomas Kaiser
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_firmwareneed a device as parameter? int request_firmware(const struct firmware **fw, const char *name,struct device *device);
Quoted 7 lines
Quoted 1 line
I thought
request_firmwarejust 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
So, that means when the pointer to device gets null the memory which holds the firmware is freed?
Thanks,
Thomas
Signature · 6 lines
http://www.kaiser-linux.li _______________________________________________ linux-dvb mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb