]> git.baikalelectronics.ru Git - kernel.git/commit
[media] mb86a20s: provide CNR stats before FE_HAS_SYNC
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 2 Mar 2013 12:06:17 +0000 (09:06 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 4 Mar 2013 19:32:55 +0000 (16:32 -0300)
commitb7160022632f0217562dcb41e28a9bc9423a2180
treeeefb111012ea3b83b7ba7e08696bd822dff818b7
parentcdadd9a1a690260229dd8c62c39a9b0d4cbf2e65
[media] mb86a20s: provide CNR stats before FE_HAS_SYNC

State 9 means TS started to be output, and it should be
associated with FE_HAS_SYNC.
The mb86a20scan get CNR statistics at state 7, when frame sync
is obtained.
As CNR may help to adjust the antenna, provide it earlier.
A latter patch could eventually start outputing MER measures
earlier, but that would require a bigger change, and probably
won't be better than the current way, as the time between
changing from state 8 to 9 is generally lower than the time
to get the stats collected.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb-frontends/mb86a20s.c