commit | 004e45d736bfe62159bd4dc1549eff414bd27496 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@redhat.com> | Mon Mar 25 09:55:59 2013 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Mon Mar 25 15:10:43 2013 -0300 |
tree | 040379919d82f8d9f844324abecfd429a7dae02c | |
parent | 6f8ca0b541c8bb542edb02dad68bd723625132e7 [diff] |
[media] tuner-core: handle errors when getting signal strength/afc If those callbacks fail, it should return zero, and not a random value. The previous code assumed that all drivers would only change signal strength if it succeeds, but this may not be true. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>