diff options
| author | Tuomas Tynkkynen <[email protected]> | 2018-07-13 00:54:17 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-07-13 11:37:34 +0200 |
| commit | 678c5b119307c40f9a17152512f9c949d0ec7292 (patch) | |
| tree | edc06dca3bdf6d8810815332d8e15f23033ded92 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 4feb0f375f030050906c834fde8bf80ac4a4571b (diff) | |
staging: bcm2835-audio: Don't leak workqueue if open fails
Currently, if bcm2835_audio_open() fails partway, the allocated
workqueue is leaked. Avoid that.
While at it, propagate the return value of
bcm2835_audio_open_connection() on failure instead of returning -1.
Signed-off-by: Tuomas Tynkkynen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions