]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
[media] si2168: Implement own I2C adapter locking
authorAntti Palosaari <crope@iki.fi>
Fri, 29 May 2015 19:42:33 +0000 (16:42 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 5 Jun 2015 09:32:05 +0000 (06:32 -0300)
commitd2b72f6482b9a3c57f036c11786a2489dcc81176
tree01b954b44e46998c5a2347f365401a626bf9fe95
parentc1c3c85ddf60a6d97c122d57d385b4929fcec4b3
[media] si2168: Implement own I2C adapter locking

We need own I2C locking because of tuner I2C adapter/repeater.
Firmware command is executed using I2C send + reply message. Default
I2C adapter locking protects only single I2C operation, not whole
send + reply sequence as needed. Due to that, it was possible tuner
I2C message interrupts firmware command sequence.

Reported-by: Adam Baker <linux@baker-net.org.uk>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Reviewed-by: Adam Baker <linux@baker-net.org.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/si2168.c
drivers/media/dvb-frontends/si2168_priv.h