summaryrefslogtreecommitdiff
path: root/drivers/media/common/saa7146_video.c
diff options
context:
space:
mode:
authorMurali Karicheri <m-karicheri2@ti.com>2010-03-01 19:54:02 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-06 19:19:02 -0300
commitab51bec1f852f6b858a26e745b32a79cd1a67eec (patch)
tree9715f24a8928ea93519a58bf1b1bea3f2ecdca7c /drivers/media/common/saa7146_video.c
parentb704e82a54591d69816b45f4324caf143f1a6fc8 (diff)
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: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common/saa7146_video.c')
0 files changed, 0 insertions, 0 deletions