commit | f1b26622ec551e3997a5c3bd73b456c1a8a1a0a1 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Fri Jul 01 11:03:13 2016 -0300 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Fri Jul 08 18:57:51 2016 -0300 |
tree | 6425c65ca8f30bbf86b868e0cc882ebafc55f021 | |
parent | d0998ce76f428bd607ab73c3258eabeb9735820f [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>