]> git.baikalelectronics.ru Git - kernel.git/commit
media: mxl5xx: fix tuning logic
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 15 Oct 2017 18:54:52 +0000 (14:54 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 11 Dec 2017 18:04:33 +0000 (13:04 -0500)
commitecbd0b906bf04d151a9752d0a2f450b0737141e6
treed84a664d3fa20a31ae451883c753a658cdadd05f
parent3fda537ec03aa4579a0311d65a22998ec86f9903
media:  mxl5xx: fix tuning logic

The tuning logic is broken with regards to status report:
it relies on a previously-cached value that may not be valid
if re-tuned.

Change the logic to always read the status.

Acked-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-frontends/mxl5xx.c