]> asedeno.scripts.mit.edu Git - linux.git/commit
media: stv0367: prevent division by zero
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 25 Jun 2017 12:07:45 +0000 (09:07 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 25 Jun 2017 12:07:45 +0000 (09:07 -0300)
commitf5a1ba833ddfd801b4adc463b0705938a8ff632f
tree70e83dfe2e02955557c7b81b815f0851add98f6a
parentd394ad12c2e0354a18e34ad803f685b795b01fc4
media: stv0367: prevent division by zero

While there's a test at the SNR calculus to avoid division by
zero, it will still follow the path that would do the division.
So, add a missing break there.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-frontends/stv0367.c