summaryrefslogtreecommitdiffstats
path: root/drivers/block/mg_disk.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-03-25 09:55:59 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-25 15:10:43 -0300
commit004e45d736bfe62159bd4dc1549eff414bd27496 (patch)
tree040379919d82f8d9f844324abecfd429a7dae02c /drivers/block/mg_disk.c
parent6f8ca0b541c8bb542edb02dad68bd723625132e7 (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>
Diffstat (limited to 'drivers/block/mg_disk.c')
0 files changed, 0 insertions, 0 deletions