[media] cx24120: Check for lock before updating BER & UCB
authorJemma Denson <jdenson@gmail.com>
Tue, 19 May 2015 20:23:14 +0000 (17:23 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 20 May 2015 12:03:15 +0000 (09:03 -0300)
commite3f2f63e8cc8a9b9a16f351b55a108ab82de6d2e
tree5d4ca62f249d3cf1ae9da2a3e4e3757923bc5190
parent80e9710b34550ae906424feb2cf40dee0422ce46
[media] cx24120: Check for lock before updating BER & UCB

BER & UCB aren't available unless we're locked; don't update dvbv5
stats when not locked and mark these counters as unavailable.

Signed-off-by: Jemma Denson <jdenson@gmail.com>
Signed-off-by: Patrick Boettcher <patrick.boettcher@posteo.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/cx24120.c