From 51cb66a6641ffa3324e0ecc33e09fe0627b769fa Mon Sep 17 00:00:00 2001 From: Ming Lei Date: Fri, 29 May 2009 11:33:19 +0800 Subject: [PATCH] --- yaml --- r: 151245 b: refs/heads/master c: 7fcab099795812a8a08eb3b8c8ddb35c3685045f h: refs/heads/master i: 151243: 9c210baca18a1af05e792e2ad4bcf08587468274 v: v3 --- [refs] | 2 +- trunk/Documentation/firmware_class/README | 3 ++- trunk/drivers/base/firmware_class.c | 5 +++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 8d08e273ecd1..394adf11de45 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c4c01684349ac0821ad8c27de9516fe493f3361d +refs/heads/master: 7fcab099795812a8a08eb3b8c8ddb35c3685045f diff --git a/trunk/Documentation/firmware_class/README b/trunk/Documentation/firmware_class/README index c3480aa66ba8..7eceaff63f5f 100644 --- a/trunk/Documentation/firmware_class/README +++ b/trunk/Documentation/firmware_class/README @@ -77,7 +77,8 @@ seconds for the whole load operation. - request_firmware_nowait() is also provided for convenience in - non-user contexts. + user contexts to request firmware asynchronously, but can't be called + in atomic contexts. about in-kernel persistence: diff --git a/trunk/drivers/base/firmware_class.c b/trunk/drivers/base/firmware_class.c index 2d296b7f7034..242770250584 100644 --- a/trunk/drivers/base/firmware_class.c +++ b/trunk/drivers/base/firmware_class.c @@ -617,8 +617,9 @@ request_firmware_work_func(void *arg) * @cont: function will be called asynchronously when the firmware * request is over. * - * Asynchronous variant of request_firmware() for contexts where - * it is not possible to sleep. + * Asynchronous variant of request_firmware() for user contexts where + * it is not possible to sleep for long time. It can't be called + * in atomic contexts. **/ int request_firmware_nowait(