diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2015-11-14 16:17:56 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-11-19 11:29:28 -0200 |
commit | b833d0df943d70682e288c38c96b8e7bfff4023a (patch) | |
tree | f4cc4669395b25a7c2117d6be83a9b132dcd9bf5 /drivers/nvdimm | |
parent | 18349f4009b149f0d4feca9e65125772d7a22dd0 (diff) | |
download | linux-b833d0df943d70682e288c38c96b8e7bfff4023a.tar.bz2 |
[media] lirc_imon: do not leave imon_probe() with mutex held
Commit af8a819a2513 ("[media] lirc_imon: simplify error handling code")
lost mutex_unlock(&context->ctx_lock), so imon_probe() exits with
the context->ctx_lock mutex acquired.
The patch adds mutex_unlock(&context->ctx_lock) back.
Found by Linux Driver Verification project (linuxtesting.org).
Fixes: af8a819a2513 ("[media] lirc_imon: simplify error handling code")
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/nvdimm')
0 files changed, 0 insertions, 0 deletions