commit | 450df22286eee7431b34644410aeff18936c7afe | [log] [tgz] |
---|---|---|
author | Nicolas Noirbent <nicolas.noirbent@smartjog.com> | Mon Mar 22 14:54:43 2010 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Wed May 19 12:57:15 2010 -0300 |
tree | 6e9e8925811ee4e895f94aba45e9b3a7914b1a20 | |
parent | b4bc3dcbefc0a359744ab13bc8b67c6cb5cd0086 [diff] |
V4L/DVB: ds3000: fix divide-by-zero error in ds3000_read_snr() Fix a divide-by-zero error in ds3000's ds3000_read_snr(), when getting a very low signal reading (dvbs2_signal_reading >= 1). This prevents some nasty EIPs when running szap-s2 with a very low signal strength. Signed-off-by: Nicolas Noirbent <nicolas.noirbent@smartjog.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>