summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-01 11:03:13 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-08 18:57:51 -0300
commitf1b26622ec551e3997a5c3bd73b456c1a8a1a0a1 (patch)
tree6425c65ca8f30bbf86b868e0cc882ebafc55f021 /lib
parentd0998ce76f428bd607ab73c3258eabeb9735820f (diff)
[media] cxd2841er: don't expose a dvbv5 stats to userspace if not available
The current code will expose a zero value if one of the stats is not available, but this is not what userspace expects. Instead, if something goes wrong on providing some stats, it should be changing the scale to FE_SCALE_NOT_AVAILABLE. So, change the logic to do the right thing. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions