]> git.openfabrics.org - ~emulex/infiniband.git/commit
[media] it913x: avoid division by zero on error case
authorAntti Palosaari <crope@iki.fi>
Sat, 9 Aug 2014 15:35:00 +0000 (12:35 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 21 Sep 2014 20:23:45 +0000 (17:23 -0300)
commit66f6319936344279466bd09f9788e888e03c99a0
treef6ac01c4f884777d4947f28d8f4f24b78266449f
parentf69429447ac11edfcbedd11cff62917831141e35
[media] it913x: avoid division by zero on error case

Error on init leaves some internal divisor zero, which causes oops
later. Fix it by populating divisors even it fails.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/tuners/tuner_it913x.c