diff options
| author | Dan Carpenter <[email protected]> | 2010-04-07 06:21:05 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2010-05-19 12:57:05 -0300 |
| commit | 2b080c5df00e431baec09222aa8d623f0cd77314 (patch) | |
| tree | f4e187ea085fb54d2e6e72ca87a2eb3dbfccc67d /tools/perf/scripts/python/bin | |
| parent | 3f113e36106f133752de47208816b28aa8e60f88 (diff) | |
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 <[email protected]>
Acked-by: Vaibhav Hiremath <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions