From: Tim Mester Date: Tue, 7 Jan 2014 04:29:24 +0000 (-0300) Subject: [media] au8028: Fix cleanup on kzalloc fail X-Git-Tag: v3.14-rc1~20^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4609981f84a23e8d481502f4728e0fed910abe03;p=pandora-kernel.git [media] au8028: Fix cleanup on kzalloc fail Free what was allocated if there is a failure allocating transfer buffers. Stop the feed on a start feed error. The stop feed is not always called if start feed fails. If the feed is not stopped on error, then the driver will be stuck so that it can never start feeding again. [m.chehab@samsung.com: CodingStyle cleanup] Signed-off-by: Tim Mester Acked-by: Devin Heitmueller Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed