summaryrefslogtreecommitdiffstats
path: root/drivers/accessibility
diff options
context:
space:
mode:
authorDaniel Scheller <d.scheller@gmx.net>2017-03-29 13:43:01 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-06-20 09:18:16 -0300
commitf61c2991e6ee6753be35193aa46ed6fd4a77dc25 (patch)
tree4733f7d7e5bfa51d8215f023caa1fbafd69e397e /drivers/accessibility
parent8108f7f432e420e8de6428b3a4edec606bb627a3 (diff)
downloadlinux-stable-f61c2991e6ee6753be35193aa46ed6fd4a77dc25.tar.gz
linux-stable-f61c2991e6ee6753be35193aa46ed6fd4a77dc25.tar.bz2
linux-stable-f61c2991e6ee6753be35193aa46ed6fd4a77dc25.zip
[media] dvb-frontends/stv0367: add flag to make i2c_gatectrl optional
Some hardware and bridges (namely ddbridge) require that tuner access is limited to one concurrent access and wrap i2c gate control with a mutex_lock when attaching frontends. According to vendor information, this is required as concurrent tuner reconfiguration can interfere each other and at worst cause tuning fails or bad reception quality. If the demod driver does gate_ctrl before setting up tuner parameters, and the tuner does another I2C enable, it will deadlock forever when gate_ctrl is wrapped into the mutex_lock. This adds a flag and a conditional before triggering gate_ctrl in the demodulator driver. Signed-off-by: Daniel Scheller <d.scheller@gmx.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/accessibility')
0 files changed, 0 insertions, 0 deletions