From: Ezequiel Garcia Date: Mon, 20 Aug 2012 00:23:46 +0000 (-0300) Subject: [media] stk1160: Stop device and unqueue buffers when start_streaming() fails X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~3^2^2~172 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ac456495a33d9466076fea94594181ceefb76d9;p=pandora-kernel.git [media] stk1160: Stop device and unqueue buffers when start_streaming() fails If start_streaming() fails (e.g. out of memory) the driver needs to rewind the start procedure. This implies possibly stopping the device and clearing the buffer queue. Signed-off-by: Ezequiel Garcia Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed