commit | b64e10f3dfbfb2fdc21013b6b265a5e48cbb0071 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Sat Feb 27 07:51:13 2016 -0300 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Tue Mar 01 12:04:48 2016 -0300 |
tree | c02a1e7a2806a28dda7a33cfefe70998da04b2ff | |
parent | fe28f5de11da417056fc1df872e9e26ceb7eb2fe [diff] |
[media] lirc_dev: avoid double mutex unlock We can only unlock if mutex_lock() succeeds. Fixes the following warning: drivers/media/rc/lirc_dev.c:535 lirc_dev_fop_close() error: double unlock 'mutex:&lirc_dev_lock' Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>