1
0
Fork 0
remarkable-linux/drivers/staging/vc04_services
Tuomas Tynkkynen 34240e87d2 staging: bcm2835-audio: Don't leak workqueue if open fails
[ Upstream commit 678c5b1193 ]

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 <tuomas@tuxera.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-26 08:38:12 +02:00
..
bcm2835-audio staging: bcm2835-audio: Don't leak workqueue if open fails 2018-09-26 08:38:12 +02:00
bcm2835-camera staging: bcm2835-camera: handle wait_for_completion_timeout return properly 2018-09-26 08:38:03 +02:00
interface staging: vchiq_core: Fix missing semaphore release in error case 2018-08-03 07:50:39 +02:00
Kconfig Merge 4.11-rc4 into staging-next 2017-03-27 09:11:25 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00