Andrzej Pietrasiewicz 06ab8b04d2 usb: gadget: uvc: preserve the address passed to kfree()
__uvcg_fill_strm() called from __uvcg_iter_stream_cls()
might have advanced the "data" even if __uvcg_iter_stream_cls()
returns an error, so use a backup copy as an argument to kfree().

Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2015-01-19 12:54:22 -06:00
..
2014-12-14 16:10:09 -08:00
2015-01-08 09:02:23 -07:00
2014-12-30 15:27:20 +01:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:43:47 -08:00
2014-12-14 16:10:09 -08:00
2014-12-20 13:42:57 -08:00
2014-12-14 16:10:09 -08:00
2014-12-17 09:59:26 -08:00
2015-01-17 08:18:08 +13:00
2014-12-17 09:59:26 -08:00
2014-12-16 14:53:01 -08:00
2014-12-18 20:24:55 -08:00
2014-12-17 10:10:51 -08:00
2014-12-29 13:24:38 -08:00
2014-12-14 16:10:09 -08:00
2015-01-09 15:43:01 +01:00
2014-11-24 07:45:25 +01:00
2014-12-14 16:43:47 -08:00
2015-01-13 15:13:45 +02:00
2014-12-14 16:43:47 -08:00
2014-12-15 18:06:13 -08:00