Re: [GIT *] Allow request_firmware() to be satisfied from in-kernel,use it in more drivers.

From: Linus Torvalds
Date: Mon Jul 14 2008 - 20:41:20 EST




On Mon, 14 Jul 2008, David Woodhouse wrote:
>
> I see no real point in that. If you have userspace to load modules, then
> you have userspace to load firmware.

David, the case is different: the module is loaded _across_ the
suspend/resume, but the device needs to have its firmware reloaded at
resume time because it lost power.

And since the device may be resumed before the root filesystem disk
device, it needs to do so _without_ calling request_firmware() at resume
time.

The above is _normal_.

And the fact is, the only way to handle it sanely is to do the
request_firmware() before suspending.

I _really_ don't understand why this keeps coming up all the time. It's a
no-brainer, with a single possible solution, yet people continue to whine
about it.

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/