summaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook/v4l
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-04-07 11:21:05 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 17:57:05 +0200
commit2b080c5df00e431baec09222aa8d623f0cd77314 (patch)
treef4e187ea085fb54d2e6e72ca87a2eb3dbfccc67d /Documentation/DocBook/v4l
parentV4L/DVB: ir-core: move subsystem internal calls to ir-core-priv.h (diff)
downloadlinux-2b080c5df00e431baec09222aa8d623f0cd77314.tar.xz
linux-2b080c5df00e431baec09222aa8d623f0cd77314.zip
V4L/DVB: davinci: don't return under lock on error path
If the kmalloc() failed for "ccdc_cfg = kmalloc(...);" then we would exit with the lock held. I moved the mutex_lock() below the allocation because it isn't protecting anything in that block and allocations are allocations are sometimes slow. Signed-off-by: Dan Carpenter <error27@gmail.com> Acked-by: Vaibhav Hiremath <hvaibhav@ti.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/DocBook/v4l')
0 files changed, 0 insertions, 0 deletions