commit | 253c9240ee09fd2a05d315ea44ac037a893d8981 | [log] [tgz] |
---|---|---|
author | Ming Lei <ming.lei@canonical.com> | Tue Oct 09 12:01:02 2012 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Oct 22 08:37:17 2012 -0700 |
tree | 51694cfbb6d5f4c74e32eb19eb0ee6f5f48e0bb4 | |
parent | 373304fe10fc46e68815c7116709ad292695dfd1 [diff] |
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 <ming.lei@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>