diff options
author | Evgeny Novikov <novikov@ispras.ru> | 2021-07-20 11:28:27 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-09-30 10:07:40 +0200 |
commit | 36b9d695aa6fb8e9a312db21af41f90824d16ab4 (patch) | |
tree | 3775d5bbc7d4a6351cec3e8f4fb9592a369b2ce2 /drivers/media/tuners/mxl5007t.c | |
parent | 11b982e950d2138e90bd120501df10a439006ff8 (diff) | |
download | linux-stable-36b9d695aa6fb8e9a312db21af41f90824d16ab4.tar.gz linux-stable-36b9d695aa6fb8e9a312db21af41f90824d16ab4.tar.bz2 linux-stable-36b9d695aa6fb8e9a312db21af41f90824d16ab4.zip |
media: ttusb-dec: avoid release of non-acquired mutex
ttusb_dec_send_command() invokes mutex_lock_interruptible() that can
fail but then it releases the non-acquired mutex. The patch fixes that.
Found by Linux Driver Verification project (linuxtesting.org).
Fixes: dba328bab4c6 ("media: ttusb-dec: cleanup an error handling logic")
Signed-off-by: Evgeny Novikov <novikov@ispras.ru>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/tuners/mxl5007t.c')
0 files changed, 0 insertions, 0 deletions