linux/drivers/media
Tomi Valkeinen 355357457a media: ti-vpe: cal: improve wait for stop-state
Sometimes there is a timeout when waiting for the Stop-State.  Testing
shows that sometimes we need to wait more than what the current code
does. It is not clear how long this wait can be, but it is based on how
quickly the sensor provides a valid clock, and how quickly CAL syncs to
it.

Change the code to make it more obvious how long we'll wait, and set a
wider range for usleep_range. Increase the timeout to 750ms.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-04-14 12:51:47 +02:00
..
cec media: Kconfig: move CEC-specific options to cec/Kconfig 2020-04-14 10:29:05 +02:00
common media: dvb-usb: auto-select CYPRESS_FIRMWARE 2020-04-14 10:29:04 +02:00
dvb-core media: Kconfig: move DVB-specific options to dvb-core/Kconfig 2020-04-14 10:29:05 +02:00
dvb-frontends media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
firewire media: Kconfig: mode firewire comment to firewire/Kconfig 2020-04-14 10:29:04 +02:00
i2c media: ov5640: fix use of destroyed mutex 2020-04-14 12:18:37 +02:00
mc media: Kconfig: move media controller core select to main Kconfig 2020-04-14 10:29:06 +02:00
mmc media: Kconfig: move comment to siano include 2020-04-14 10:29:04 +02:00
pci media: pci: saa7134: convert to use i2c_new_client_device() 2020-04-14 11:29:10 +02:00
platform media: ti-vpe: cal: improve wait for stop-state 2020-04-14 12:51:47 +02:00
radio media: docs: move driver-specific info to driver-api 2020-04-14 10:36:18 +02:00
rc media: rc: Use scnprintf() for avoiding potential buffer overflow 2020-03-20 16:27:42 +01:00
spi media: Kconfig files: use select for V4L2 subdevs and MC 2020-04-14 10:29:05 +02:00
test_drivers media: vimc: fix kernel-doc markups 2020-04-14 12:14:43 +02:00
tuners media: tuners: Use the correct style for SPDX License Identifier 2019-10-24 18:57:55 -03:00
usb media: usb: pvrusb2: convert to use i2c_new_client_device() 2020-04-14 11:32:04 +02:00
v4l2-core media: add v4l2 JPEG helpers 2020-04-14 11:47:47 +02:00
Kconfig Revert "media: Kconfig: better support hybrid TV devices" 2020-04-14 11:00:30 +02:00
Makefile media: move drivers/media/media-* to drivers/media/mc/mc-* 2019-05-28 12:15:46 -04:00