From: Ming Lei Date: Tue, 9 Oct 2012 04:01:02 +0000 (+0800) Subject: firmware loader: fix one reqeust_firmware race X-Git-Tag: v3.7-rc3~14^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=253c9240ee09fd2a05d315ea44ac037a893d8981;p=pandora-kernel.git firmware loader: fix one reqeust_firmware race Several loading requests may be pending on one same firmware buf, and this patch moves fw_map_pages_buf() before complete_all(&fw_buf->completion) and let all requests see the mapped 'buf->data' once the loading is completed. Signed-off-by: Ming Lei Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed