diff options
| author | 2017-03-12 21:09:31 +0530 | |
|---|---|---|
| committer | 2017-03-14 07:57:53 +0800 | |
| commit | 8f1fff07b07fdb15d1d585f6eb1ea56e748bc637 (patch) | |
| tree | 833b62a35e4bb7311419756110aa3a80c287ba8c /tools/perf/scripts/python | |
| parent | staging: bcm2835-audio: propagate PTR_ERR value instead of -EPERM (diff) | |
staging: bcm2835-audio: use conditional only for error case
* Refactor conditional to check if memory allocation has failed and
immediately return (-ENOMEM); if block for success case is removed.
* Return the error value -EBUSY when queue_work() fails.
Signed-off-by: Aishwarya Pant <aishpant@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
