mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
[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>
This commit is contained in:
parent
6f8ca0b541
commit
004e45d736
1 changed files with 6 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue