[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)
commit15b1c5a068e710bd4d9c8d76e8ed8c63aa4bff2b
treeeefb111012ea3b83b7ba7e08696bd822dff818b7
parent768e6dadd748ecceee852def1f7f71aac4cd35a1
[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