diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-02-27 11:51:13 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-03-01 16:04:48 +0100 |
commit | b64e10f3dfbfb2fdc21013b6b265a5e48cbb0071 (patch) | |
tree | c02a1e7a2806a28dda7a33cfefe70998da04b2ff /include/media/media-device.h | |
parent | [media] ati_remote: Put timeouts at the accel array (diff) | |
download | linux-b64e10f3dfbfb2fdc21013b6b265a5e48cbb0071.tar.xz linux-b64e10f3dfbfb2fdc21013b6b265a5e48cbb0071.zip |
[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>
Diffstat (limited to 'include/media/media-device.h')
0 files changed, 0 insertions, 0 deletions