linux-stable/drivers/media
Mauro Carvalho Chehab 7621b8c4c0 media: xc5000: better handle I2C error messages
As warned by smatch, there are several places where the I2C
transfer may fail, leading into inconsistent behavior:

	drivers/media/tuners/xc5000.c:689 xc_debug_dump() error: uninitialized symbol 'regval'.
	drivers/media/tuners/xc5000.c:841 xc5000_is_firmware_loaded() error: uninitialized symbol 'id'.
	drivers/media/tuners/xc5000.c:939 xc5000_set_tv_freq() error: uninitialized symbol 'pll_lock_status'.
	drivers/media/tuners/xc5000.c:1195 xc_load_fw_and_init_tuner() error: uninitialized symbol 'pll_lock_status'.

Handle the return codes from the I2C transfer, in order to
address those issues.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-12-11 13:15:35 -05:00
..
cec media: cec: disable the hardware when unregistered 2017-12-08 11:11:25 -05:00
common media: siano: add SPDX markups 2017-12-11 07:44:07 -05:00
dvb-core media: dvb_net: stop abusing /** for comments 2017-11-27 10:35:34 -05:00
dvb-frontends media: drxd_hard: better handle I2C errors 2017-12-11 13:13:39 -05:00
firewire
i2c media: ov9650: fix bogus warnings 2017-12-11 13:04:55 -05:00
mmc License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pci media: cx25821-alsa: fix usage of a pointer printk 2017-12-11 13:04:56 -05:00
platform media: atmel-isc: avoid returning a random value at isc_parse_dt() 2017-12-11 13:04:50 -05:00
radio media: radio-si476x: fix behavior when seek->range* are defined 2017-12-11 13:04:51 -05:00
rc media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
spi
tuners media: xc5000: better handle I2C error messages 2017-12-11 13:15:35 -05:00
usb media: mxl111sf: improve error handling logic 2017-12-11 13:14:44 -05:00
v4l2-core media: v4l: async: use the v4l2_dev from the root notifier when matching sub-devices 2017-11-30 04:44:07 -05:00
Kconfig media: rc-core: do not depend on MEDIA_SUPPORT 2017-08-20 09:39:36 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
media-device.c media: drop use of MEDIA_API_VERSION 2017-08-08 06:03:15 -04:00
media-devnode.c media: utilize new cdev_device_add helper function 2017-03-21 06:44:33 +01:00
media-entity.c [media] media: Check for active and has_no_links overrun 2017-10-04 17:16:14 -03:00