[media] dib8000: be sure that stats are available before reading them
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 17 Dec 2013 13:08:20 +0000 (10:08 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 19 Dec 2013 10:17:47 +0000 (08:17 -0200)
commit704f01bbc7e41f4210fe9fa58da511ad3369b70b
tree024d3af2bf8e50f72a38da503ca761cf8ce078b7
parent7a9d85d5559fff9214a3c41d441c9642805ddad3
[media] dib8000: be sure that stats are available before reading them

On dib8000, the BER statistics are updated on every 1.25e6 bits.
Adjust the code to only update the statistics after having it
done.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Acked-by: Patrick Boettcher <pboettcher@kernellabs.com>
drivers/media/dvb-frontends/dib8000.c