Skip to content
Commit ab51bec1 authored by Murali Karicheri's avatar Murali Karicheri Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB: V4L: vpfe_capture - free ccdc_lock when memory allocation fails



This patch fixes a bug in vpfe_probe() that doesn't call mutex_unlock() if memory
allocation for ccdc_cfg fails. See also the smatch warning report from Dan
Carpenter that shows this as an issue.

Signed-off-by: default avatarMurali Karicheri <m-karicheri2@ti.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent b704e82a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment