linux/drivers/media
Hans Verkuil 2311072d99 media: tvp7002: fix uninitialized variable warning
tvp7002.c: In function 'tvp7002_g_register':
tvp7002.c:691:11: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized]
  691 |  reg->val = val;
      |  ~~~~~~~~~^~~~~

Just return without setting 'reg' if tvp7002_read returns an error.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-10-08 14:13:59 +02:00
..
cec Linux 5.9-rc7 2020-10-04 12:19:12 +02:00
common Linux 5.9-rc7 2020-10-04 12:19:12 +02:00
dvb-core media fixes for v5.9-rc7 2020-09-24 09:05:04 -07:00
dvb-frontends media: dvb-frontends: remove a clone of a kernel-doc markup at zd1301_demod.h 2020-09-30 18:50:20 +02:00
firewire media: firewire: fix memory leak 2020-09-27 11:29:45 +02:00
i2c media: tvp7002: fix uninitialized variable warning 2020-10-08 14:13:59 +02:00
mc media: mc-device.c: change media_device_request_alloc to match media_ioctl_info 2020-08-29 08:15:23 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci media: netup_unidvb: drop initialization of PM pointers 2020-09-27 11:24:28 +02:00
platform media: rcar-vin: rcar-dma: Fix setting VNIS_REG for RAW8 formats 2020-10-08 09:09:37 +02:00
radio Linux 5.9-rc4 2020-09-07 16:13:06 +02:00
rc media: rc: gpio-ir-recv: add QoS support for cpuidle system 2020-09-27 11:27:23 +02:00
spi media: i2c/Kconfig: use sub-menus for I2C support 2020-04-16 10:34:40 +02:00
test-drivers media: vidtv: fix decoding with gstreamer and Vlc 2020-10-01 09:24:54 +02:00
tuners Linux 5.9-rc4 2020-09-07 16:13:06 +02:00
usb media: usbtv: Fix refcounting mixup 2020-10-08 09:08:20 +02:00
v4l2-core media: v4l2-mem2mem: Fix spurious v4l2_m2m_buf_done 2020-10-08 09:08:53 +02:00
Kconfig media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00