From: Hans Verkuil Date: Wed, 29 Dec 2010 17:28:13 +0000 (-0300) Subject: [media] em28xx: fix incorrect s_ctrl error code and wrong call to res_free X-Git-Tag: v2.6.38-rc1~470^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ea2b673a55cee528f83653e711d09425ed4d8b6;p=pandora-kernel.git [media] em28xx: fix incorrect s_ctrl error code and wrong call to res_free Calling subdevs to handle s_ctrl returned a non-zero return code even if everything went fine. Calling STREAMOFF if no STREAMON happened earlier would hit a BUG_ON in res_free. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed