[media] airspy: fix error handling on start streaming
authorAntti Palosaari <crope@iki.fi>
Mon, 25 Aug 2014 00:59:36 +0000 (21:59 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 21 Sep 2014 19:42:31 +0000 (16:42 -0300)
commit6b831d78477c9bbfbcb4cb60af13e13bd2c7467e
tree2549759d70611afb0608ec30f57a0f2590b174a5
parent3cf0c6bd68915aee3b5827b960e485de201e42c1
[media] airspy: fix error handling on start streaming

Free all reserved USB buffers and URBs on failure. Return all queued
buffers to vb2 with state queued on error case.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/airspy/airspy.c