linux_dsm_epyc7002/drivers/media
Mauro Carvalho Chehab 39ad07b7de media: s5c73m3-core: fix logic on a timeout condition
As warned by smatch:
	drivers/media/i2c/s5c73m3/s5c73m3-core.c:268 s5c73m3_check_status() error: uninitialized symbol 'status'.

if s5c73m3_check_status() is called too late, time_is_after_jiffies(end)
will return 0, causing the while to abort before reading status.

The current code will do the wrong thing here, as it will still
check if status != value. The right fix here is to change
the logic to ensure that it will always read the status.

Suggested-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-03-07 05:55:05 -05:00
..
cec media: cec: improve debugging 2018-02-26 08:12:49 -05:00
common media: siano: Fix coherent memory allocation failure on arm64 2018-03-06 12:46:15 -05:00
dvb-core media: dvbdev: fix building on ia64 2018-03-07 04:11:50 -05:00
dvb-frontends media: cxd2880: remove unused vars 2018-03-07 05:12:59 -05:00
firewire vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
i2c media: s5c73m3-core: fix logic on a timeout condition 2018-03-07 05:55:05 -05:00
mmc media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
pci media: cx23885: Override 888 ImpactVCBe crystal frequency 2018-03-07 04:06:51 -05:00
platform media: renesas-ceu: mark PM functions as __maybe_unused 2018-03-06 12:24:24 -05:00
radio media: usb: don't initialize vars if not needed 2018-03-06 10:39:59 -05:00
rc media: rc: fix race condition in ir_raw_event_store_edge() handling 2018-02-27 08:16:09 -05:00
spi media: cxd2880: Add all Makefile, Kconfig files and Update MAINTAINERS file for the driver 2018-03-07 05:02:57 -05:00
tuners media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
usb media: cx231xx: Add second i2c demod to Hauppauge 975 2018-03-07 04:02:15 -05:00
v4l2-core Merge commit 'v4.16-rc4~0' into patchwork 2018-03-05 07:39:06 -05:00
Kconfig media: dvb: fix DVB_MMAP dependency 2018-02-23 05:21:41 -05: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: zero reservedX fields in media_v2_topology 2018-02-26 09:47:53 -05:00
media-devnode.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
media-entity.c media: media.h: reorganize header to make it easier to understand 2018-02-26 10:14:46 -05:00