media: tvp5150: implement decoder lock when irq is not used
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 1 Aug 2018 14:09:24 +0000 (10:09 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 17 Sep 2018 17:33:41 +0000 (13:33 -0400)
commit5bd1d91d673df395aafe0c984de6195e9e662ec3
tree8275bab0a5ed285b483a8bf70efbe80f5582465b
parentee9a6ff6a6979c2c374b434ff1c800780b193af4
media: tvp5150: implement decoder lock when irq is not used

When irq is used, the lock is set via IRQ code. When it isn't,
the driver just assumes it is always locked. Instead, read the
lock status from the status register.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/tvp5150.c