firmware class: export nowait to userspace
authorJohannes Berg <johannes.berg@intel.com>
Mon, 29 Mar 2010 15:57:20 +0000 (17:57 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 21 May 2010 16:37:30 +0000 (09:37 -0700)
commite9045f9178f3e3445a3a5b85206f8681b3869562
tree90de949ea1585ebd42112121570a00a2ea3c5708
parent1704f47b50b5d9e1b825e43e1baaf2c5897baf03
firmware class: export nowait to userspace

When we use request_firmware_nowait(), userspace may
not want to answer negatively right away when for
example it is answering from an initrd only, but
with request_firmware() it has to in order to not
delay the kernel boot until the request times out.

This allows userspace to differentiate between the
two in order to be able to reply negatively to async
requests only when all filesystems have been mounted
and have been checked for the requested firmware file.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/firmware_class.c