]> asedeno.scripts.mit.edu Git - linux.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)
commit2919d12de52106279b92a75e9a6788b5c668a159
treed84a664d3fa20a31ae451883c753a658cdadd05f
parent19326ef0874e8fdcf4d6d6fe97e85b2dac69a954
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