[media] m88rs2000: prevent frontend crash on continuous transponder scans
authorMalcolm Priestley <tvboxspy@gmail.com>
Wed, 26 Feb 2014 02:11:34 +0000 (23:11 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 28 Feb 2014 18:19:44 +0000 (15:19 -0300)
commit8272d0a0c0d374a01721e579df6e8add5577132b
tree6c1defe52d77d2411d68ef32d96a753d0afd6075
parent3c8023a782964c72574ad8268ba0ea4e2d9772fc
[media] m88rs2000: prevent frontend crash on continuous transponder scans

Add m88rs2000_get_tune_settings, min delay of 2000 ms on symbol
rate more than 3000000 and delay of 3000ms less than this.

Adding min delay prevents crashing the frontend on continuous
transponder scans. Other dvb_frontend_tune_settings remain as default.

This makes very little time difference to good channel scans, but slows down
the set frontend where lock can never be achieved i.e. DVB-S2.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/m88rs2000.c