summaryrefslogtreecommitdiff
path: root/drivers/media/usb/dvb-usb-v2/af9035.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-03-25 16:55:59 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-25 22:10:43 +0400
commit004e45d736bfe62159bd4dc1549eff414bd27496 (patch)
tree040379919d82f8d9f844324abecfd429a7dae02c /drivers/media/usb/dvb-usb-v2/af9035.c
parent6f8ca0b541c8bb542edb02dad68bd723625132e7 (diff)
downloadlinux-004e45d736bfe62159bd4dc1549eff414bd27496.tar.xz
[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>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/af9035.c')
0 files changed, 0 insertions, 0 deletions