linux/drivers/media/platform/vivid
Hans Verkuil 83a729530a media: vivid: fix gain when autogain is on
In the vivid driver you want gain to continuous change while autogain
is on. However, dev->jiffies_vid_cap doesn't actually change. It probably
did in the past, but changes in the code caused this to be a fixed value
that is only set when you start streaming.

Replace it by jiffies, which is always changing.

[mchehab@kernel.org: use jiffies_to_msecs() instead of dividing by HZ]

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-07-04 08:18:33 -04:00
..
Kconfig [media] cec: select CEC_CORE instead of depend on it 2017-06-04 15:23:33 -03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vivid-cec.c media: cec: improve CEC pin event handling 2018-03-22 08:16:52 -04:00
vivid-cec.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-core.c treewide: Use array_size() in vzalloc() 2018-06-12 16:19:22 -07:00
vivid-core.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-ctrls.c media: vivid: fix gain when autogain is on 2018-07-04 08:18:33 -04:00
vivid-ctrls.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-kthread-cap.c media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-kthread-cap.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-kthread-out.c media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-kthread-out.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-osd.c media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-osd.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-radio-common.c media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-radio-common.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-radio-rx.c media: vivid-radio-rx: add a cast to avoid a warning 2018-03-23 07:30:03 -04:00
vivid-radio-rx.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-radio-tx.c media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-radio-tx.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-rds-gen.c media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-rds-gen.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-sdr-cap.c media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-sdr-cap.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vbi-cap.c media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vbi-cap.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vbi-gen.c media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vbi-gen.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vbi-out.c media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vbi-out.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vid-cap.c media: v4l: Bring back array_size parameter to v4l2_find_nearest_size 2018-04-04 06:12:53 -04:00
vivid-vid-cap.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vid-common.c media: vivid: potential integer overflow in vidioc_g_edid() 2018-05-28 16:12:07 -04:00
vivid-vid-common.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vid-out.c media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00
vivid-vid-out.h media: vivid: add SPDX license info 2018-02-14 13:14:31 -05:00