linux/drivers/media/pci
Daniel Scheller c7518d13f7 [media] dvb-frontends/cxd2841er: make call to i2c_gate_ctrl optional
Some cards/bridges wrap i2c_gate_ctrl handling with a mutex_lock(). This is
e.g. done in ddbridge to protect against concurrent tuner access with
regards to the dual tuner HW, where concurrent tuner reconfiguration can
result in tuning fails or bad reception quality. When the tuner driver
additionally tries to open the I2C gate (which e.g. the tda18212 driver
does) when the demod already did this, this will lead to a deadlock. This
makes the calls to i2c_gatectrl from the demod driver optional when the
flag is set, leaving this to the tuner driver. For readability reasons and
to not have the check duplicated multiple times, the setup is factored
into cxd2841er_tuner_set().

This commit also updates the netup card driver (which seems to be the only
consumer of the cxd2841er as of now).

Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Acked-by: Abylay Ospan <aospan@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-06-20 09:45:20 -03:00
..
b2c2 [media] b2c2: fix spelling mistake: "Contunuity" -> "Continuity" 2017-01-30 15:45:34 -02:00
bt8xx [media] bt8xx: add missing break 2017-05-19 07:08:25 -03:00
cobalt [media] cobalt: fix unchecked return values 2017-06-06 07:29:15 -03:00
cx18 [media] cx18: Fix a sleep-in-atomic bug in snd_cx18_pcm_hw_free 2017-06-07 12:28:50 -03:00
cx88 [media] cx88: Fix regression in initial video standard setting 2017-06-06 07:26:25 -03:00
cx23885 [media] media drivers: annotate fall-through 2017-05-19 07:10:03 -03:00
cx25821 [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
ddbridge [media] ddbridge: support STV0367-based cards and modules 2017-06-20 09:29:43 -03:00
dm1105 [media] media: pci: constify stv0299_config structures 2017-04-17 13:04:18 -03:00
dt3155 [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
ivtv [media] ivtv: Fix a sleep-in-atomic bug in snd_ivtv_pcm_hw_free 2017-06-07 12:28:49 -03:00
mantis [media] pci: mantis: constify mb86a16_config structure 2017-04-17 12:53:03 -03:00
meye [media] media: pci: meye: set error code on failures 2017-02-03 08:01:30 -02:00
netup_unidvb [media] dvb-frontends/cxd2841er: make call to i2c_gate_ctrl optional 2017-06-20 09:45:20 -03:00
ngene [media] ngene: drop ngene_link_reset() 2017-02-03 11:35:59 -02:00
pluto2 [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
pt1 sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
pt3 sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
saa7134 [media] media drivers: annotate fall-through 2017-05-19 07:10:03 -03:00
saa7146 [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
saa7164 [media] saa7164: fix double fetch PCIe access condition 2017-06-06 16:55:50 -03:00
smipcie [media] rc-main: assign driver type during allocation 2017-01-30 13:59:57 -02:00
solo6x10 [media] media drivers: annotate fall-through 2017-05-19 07:10:03 -03:00
sta2x11 [media] media: pci: constify vb2_ops structure 2017-02-03 14:23:39 -02:00
ttpci [media] av7110: avoid switch fall through 2017-05-19 09:01:24 -03:00
tw68 [media] tw68: don't break long lines 2016-10-21 09:29:44 -02:00
tw686x [media] tw686x: silent -Wformat-security warning 2017-02-03 07:20:19 -02:00
tw5864 [media] tw5864: use dev_warn instead of WARN to shut up warning 2017-03-22 10:12:54 -03:00
zoran [media] zoran: annotate switch fall through 2017-05-19 09:02:13 -03:00
Kconfig [media] pci: Add tw5864 driver 2016-08-24 11:17:22 -03:00
Makefile [media] pci: Add tw5864 driver 2016-08-24 11:17:22 -03:00