diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-08-14 02:58:56 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-15 18:50:27 -0300 |
commit | a7bd775628006f7da1b94d7a5def6746f55f2321 (patch) | |
tree | dc017300a1cecfbac681cd3d9abc38129db841d9 /drivers/media/usb/stk1160 | |
parent | e36c92fd63bb4773e6f4bc38ecee11a609ded1cf (diff) |
[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 <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/stk1160')
0 files changed, 0 insertions, 0 deletions