OpenCloudOS-Kernel/drivers/media/usb/dvb-usb-v2
Hans Verkuil 2b9cecf001 media: dvb-usb-v2: af9035: fix missing unlock
[ Upstream commit f31b2cb85f0ee165d78e1c43f6d69f82cc3b2145 ]

Instead of returning an error, goto the mutex unlock at
the end of the function.

Fixes smatch warning:

drivers/media/usb/dvb-usb-v2/af9035.c:467 af9035_i2c_master_xfer() warn: inconsistent returns '&d->i2c_mutex'.
  Locked on  : 326,387
  Unlocked on: 465,467

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Fixes: 7bf744f2de ("media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer")
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-20 11:59:33 +01:00
..
Kconfig media: media/*/Kconfig: sort entries 2022-03-18 05:58:35 +01:00
Makefile
af9015.c media: usb: dvb-usb-v2: af9015.c: return 0 instead of 'ret'. 2023-02-08 08:31:05 +01:00
af9015.h
af9035.c media: dvb-usb-v2: af9035: fix missing unlock 2023-11-20 11:59:33 +01:00
af9035.h
anysee.c media: anysee: fix null-ptr-deref in anysee_master_xfer 2023-07-19 12:57:50 +02:00
anysee.h
au6610.c
au6610.h
az6007.c media: az6007: Fix null-ptr-deref in az6007_i2c_xfer() 2023-07-19 12:57:50 +02:00
ce6230.c media: dvb-usb-v2: ce6230: fix null-ptr-deref in ce6230_i2c_master_xfer() 2023-05-14 06:30:01 +01:00
ce6230.h
dvb_usb.h media: media/usb: fix kernel-doc header issues 2021-03-22 12:51:50 +01:00
dvb_usb_common.h
dvb_usb_core.c
dvb_usb_urb.c
dvbsky.c media: dvbsky: add support for MyGica T230C2_LITE and T230A 2021-07-12 09:16:29 +02:00
ec168.c media: dvb-usb-v2: ec168: fix null-ptr-deref in ec168_i2c_xfer() 2023-05-14 06:29:59 +01:00
ec168.h
gl861.c media: dvb-usb-v2: gl861: Fix null-ptr-deref in gl861_i2c_master_xfer 2023-07-19 12:57:50 +02:00
lmedm04.c media: lmedm04: don't ignore errors when setting a filter 2021-11-29 13:23:14 +01:00
lmedm04.h
mxl111sf-demod.c
mxl111sf-demod.h
mxl111sf-gpio.c
mxl111sf-gpio.h
mxl111sf-i2c.c
mxl111sf-i2c.h
mxl111sf-phy.c
mxl111sf-phy.h
mxl111sf-reg.h
mxl111sf-tuner.c
mxl111sf-tuner.h
mxl111sf.c media: mxl111sf: change mutex_init() location 2021-09-30 10:08:01 +02:00
mxl111sf.h
rtl28xxu.c media: dvb-usb-v2: rtl28xxu: fix null-ptr-deref in rtl28xxu_i2c_xfer 2023-05-14 06:30:03 +01:00
rtl28xxu.h
usb_urb.c
zd1301.c