diff options
| author | 2015-03-10 10:45:40 +0100 | |
|---|---|---|
| committer | 2015-03-25 14:49:10 +0100 | |
| commit | ef518cc8aa4427043efe21cb2f0799be9cb1d74d (patch) | |
| tree | 10aa0001699947341c554464852d1029574f2404 /tools/perf/scripts/python/Perf-Trace-Util | |
| parent | firmware: Avoid manual device_create_file() calls (diff) | |
| download | linux-dev-ef518cc8aa4427043efe21cb2f0799be9cb1d74d.tar.xz linux-dev-ef518cc8aa4427043efe21cb2f0799be9cb1d74d.zip | |
drivers: base: fw: fix ret value when loading fw
When using the user mode helper to load firmwares the function _request_firmware
gets a positive return value from fw_load_from_user_helper and because of this
the firmware buffer is not assigned. This happens only when the return value
is zero. This patch fixes this problem in _request_firmware_load. When the
completion is ready the return value is set to zero.
Signed-off-by: Zahari Doychev <zahari.doychev@linux.com>
Cc: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions
