V4L/DVB (5935): dvb_frontend: Range check of frequency and symbol rate
authorOliver Endriss <o.endriss@gmx.de>
Tue, 24 Jul 2007 00:00:36 +0000 (21:00 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:03:28 +0000 (22:03 -0300)
commit1fab46f0decd226fcbae73b23d7f8ed478416fbb
treeab0d9d23cffcde41073554092ca42b11aacc7d19
parent36c15f8ee41fbc3d8eaf88bba95be3d50268d5d2
V4L/DVB (5935): dvb_frontend: Range check of frequency and symbol rate

Add range check of frequency and symbol rate to the FE_SET_FRONTEND ioctl.

This will also avoid a divide-by zero exception in the stv0297 driver,
if symbol rate is set to 0.

Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/dvb-core/dvb_frontend.c