kernel_samsung_a53x/drivers/media
Hans Verkuil ae6b3160e0 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: 7bf744f2de0a ("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>
2024-11-18 11:43:07 +01:00
..
cec Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
common Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dvb-core Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dvb-frontends Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
firewire Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i2c media: i2c: max9286: Fix some redundant of_node_put() calls 2024-11-18 11:43:06 +01:00
mc Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mmc Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci media: bttv: fix use after free error due to btv->timeout timer 2024-11-18 11:43:06 +01:00
platform media: s3c-camif: Avoid inappropriate kfree() 2024-11-18 11:43:07 +01:00
radio Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rc Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spi Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
test-drivers media: vidtv: mux: Add check and kfree for kstrdup 2024-11-18 11:43:07 +01:00
tuners Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
usb media: dvb-usb-v2: af9035: fix missing unlock 2024-11-18 11:43:07 +01:00
v4l2-core Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00