linux-stable/drivers/media
Devin Heitmueller d9928a115a [media] xc5000: Don't spin waiting for analog lock
The xc5000 driver should not be spinning waiting for an analog lock.
The ioctl() should be returning immediately and the application is
responsible for polling for lock status.

This behavior isn't very visible in cases where you tune to a valid
channel, since lock is usually achieved much faster than 400ms.
However it is highly visible where doing things like changing video
standards, which sends tuning request for a frequency that is
almost never going to have an actual channel on it.

Also fixup the return values to treat zero as success and an actual
error code on error (to be consistent with other functions).  Note
this change has no practical effect at this time as none of the
callers inspect the return value.

Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-06-06 07:51:05 -03:00
..
cec [media] cec: improve MEDIA_CEC_RC dependencies 2017-05-18 07:29:09 -03:00
common [media] b2c2: constify nxt200x_config structure 2017-04-17 12:18:18 -03:00
dvb-core [media] media/dvb-core: Race condition when writing to CAM 2017-04-17 17:20:23 -03:00
dvb-frontends [media] au8522: fix lock detection to be more reliable 2017-06-06 07:50:19 -03:00
firewire [media] firewire: don't break long lines 2016-10-21 10:06:00 -02:00
i2c [media] cx25840: fix unchecked return values 2017-06-06 07:30:11 -03:00
mmc
pci [media] cx18: fix spelling mistake: "demodualtor" -> "demodulator" 2017-06-06 07:30:36 -03:00
platform [media] media: s5p-cec: Fixed spelling mistake 2017-06-06 07:45:08 -03:00
radio [media] wl128x: use setup_timer 2017-04-10 14:56:37 -03:00
rc [media] media drivers: annotate fall-through 2017-05-19 07:10:03 -03:00
spi [media] gs1662: drop kfree for memory allocated with devm_kzalloc 2016-10-24 17:59:08 -02:00
tuners [media] xc5000: Don't spin waiting for analog lock 2017-06-06 07:51:05 -03:00
usb [media] usbvision: add missing USB-descriptor endianness conversions 2017-06-06 07:43:02 -03:00
v4l2-core [media] v4l2-ioctl.c: always copy G/S_EDID result 2017-06-06 07:42:24 -03:00
Kconfig [media] cec: Kconfig cleanup 2017-04-19 06:50:52 -03:00
Makefile [media] cec: Kconfig cleanup 2017-04-19 06:50:52 -03:00
media-device.c [media] media: Rename graph and pipeline structs and functions 2017-01-27 16:13:24 -02: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-entity: only call dev_dbg_obj if mdev is not NULL 2017-04-19 08:15:51 -03:00