]> 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)
commit04ad438a09726c8bcdc1a1a7104592e92766608d
treed84a664d3fa20a31ae451883c753a658cdadd05f
parent9e4121771fc9361a0ce826b2474bc5aaf2ea922f
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