staging: bcm2835-audio: deallocate work when queue_work(...) fails
authorAishwarya Pant <aishpant@gmail.com>
Sun, 12 Mar 2017 15:39:49 +0000 (21:09 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Mar 2017 23:57:53 +0000 (07:57 +0800)
commite3173e5783ffdf3aa7bcc8ac0a150b17d83c1792
treea4212d2817043a7790d39d1150b00b1202770ad0
parent8f1fff07b07fdb15d1d585f6eb1ea56e748bc637
staging: bcm2835-audio: deallocate work when queue_work(...) fails

This patch de-allocates work when queue_work(..) fails in the
bcm2835-audio work functions

Signed-off-by: Aishwarya Pant <aishpant@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c