ir-keytable: avoid double lock
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 6 lines · [email protected] wrote:
From: Dan Carpenter <[email protected]>
It's possible that we wanted to resize to a smaller size but we didn't have enough memory to create the new table. We need to test for that here so we don't try to lock twice and dead lock. Also we free the "oldkeymap" on that path and that would be bad.
This patch doesn't apply anymore on my tree.
It probably conflicted with this one:
commit 2b12a23223d05a1192e1e55775b79d6caa52b066
Author: David Härdeman <[email protected]> Date: Fri Apr 2 15:58:28 2010 -0300
V4L/DVB: drivers/media/IR - improve keytable code
The attached patch rewrites much of the keytable code in drivers/media/IR/ir-keytable.c.
Cheers,
Mauro
Quoted 12 lines · Mauro Carvalho Chehab
Quoted 6 lines · [email protected] wrote:
From: Dan Carpenter <[email protected]>
It's possible that we wanted to resize to a smaller size but we didn't have enough memory to create the new table. We need to test for that here so we don't try to lock twice and dead lock. Also we free the "oldkeymap" on that path and that would be bad.
This patch doesn't apply anymore on my tree.
It probably conflicted with this one:
Yup. It's no longer needed. Looks good.
regards,
dan carpenter