Re: [PATCH] request_firmware: skip timeout if userspace was notnotified

From: Cornelia Huck
Date: Tue Aug 07 2007 - 10:38:26 EST


On Tue, 07 Aug 2007 16:08:25 +0200,
Kay Sievers <kay.sievers@xxxxxxxx> wrote:

> Nope, you would just fulfill in a completely generic way all outstanding
> requests when you are ready. All requests are all nicely grouped and
> visible in sysfs. There would be no need of coding your own device
> specific rebind. No timeout is needed or wanted, all requests would stay
> until userspace has handled them successfully or canceled them.

Hm, that would mean that no build-in driver may call
request_firmware(), only request_firmware_nowait() with no timeout.
Likely drivers that want to fail probe for no firmware will need to
split their probe functions.
-
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/