2b9cecf001
[ 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:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
af9015.c | ||
af9015.h | ||
af9035.c | ||
af9035.h | ||
anysee.c | ||
anysee.h | ||
au6610.c | ||
au6610.h | ||
az6007.c | ||
ce6230.c | ||
ce6230.h | ||
dvb_usb.h | ||
dvb_usb_common.h | ||
dvb_usb_core.c | ||
dvb_usb_urb.c | ||
dvbsky.c | ||
ec168.c | ||
ec168.h | ||
gl861.c | ||
lmedm04.c | ||
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 | ||
mxl111sf.h | ||
rtl28xxu.c | ||
rtl28xxu.h | ||
usb_urb.c | ||
zd1301.c |