From: Dan Carpenter Date: Tue, 14 Aug 2012 05:58:56 +0000 (-0300) Subject: [media] mem2mem_testdev: unlock and return error code properly X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~3^2^2~374 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7bd775628006f7da1b94d7a5def6746f55f2321;p=pandora-kernel.git [media] mem2mem_testdev: unlock and return error code properly We recently added locking to this function, but there was an error path which accidentally returned holding a lock. Also we returned zero on failure on some paths instead of the error code. Signed-off-by: Dan Carpenter Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed