Matthias Schwarzott
2df9dda07f
[media] si2165: avoid division by zero
...
When si2165_init fails, the clk values in state are still at zero.
But the dvb-core ignores the return value of init will call tune
afterwards.
This will trigger a division by zero when tuning.
At least check for the variables to be non-zero before dividing.
This happened for a system with WinTV HVR-4400 PCIe-card after suspend-to-disk.
Do suspend-to-disk without accessing the DVB device before.
After wakeup try to tune.
si2165_init fails at checking the chip_mode and aborts.
Then si2165_set_if_freq_shift will fail with div-by-zero.
Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-09-22 12:53:22 -03:00
..
2016-06-24 11:10:16 -03:00
2015-08-11 12:58:20 -03:00
2015-08-11 07:10:04 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2014-11-04 18:20:35 -02:00
2016-07-12 13:32:39 -03:00
2014-09-21 19:39:47 -03:00
2014-08-21 15:25:30 -05:00
2016-02-04 16:27:30 -02:00
2014-08-21 15:25:30 -05:00
2016-09-19 16:22:55 -03:00
2015-08-11 14:54:17 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2015-12-21 17:39:32 -02:00
2016-03-03 06:18:17 -03:00
2016-02-04 16:27:30 -02:00
2016-03-03 06:18:17 -03:00
2016-03-03 06:18:17 -03:00
2016-01-25 12:01:08 -02:00
2016-01-25 12:01:08 -02:00
2016-01-25 12:01:08 -02:00
2015-12-04 10:38:59 -02:00
2015-12-04 10:38:59 -02:00
2015-12-04 10:38:59 -02:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2016-03-03 14:26:55 -03:00
2015-05-18 16:33:55 -03:00
2016-02-04 16:27:30 -02:00
2015-04-28 09:26:02 -03:00
2016-09-22 10:43:09 -03:00
2016-09-22 10:43:09 -03:00
2016-09-22 10:43:09 -03:00
2016-09-22 10:43:09 -03:00
2016-09-22 10:43:09 -03:00
2016-09-22 10:41:15 -03:00
2016-06-07 12:08:12 -03:00
2016-09-22 12:47:57 -03:00
2016-06-07 12:16:37 -03:00
2016-01-25 12:01:08 -02:00
2015-04-08 15:02:07 -03:00
2016-06-24 11:23:59 -03:00
2015-04-08 15:02:07 -03:00
2016-01-25 12:01:08 -02:00
2016-01-25 12:01:08 -02:00
2016-02-04 16:27:30 -02:00
2016-02-04 16:27:30 -02:00
2016-01-25 12:01:08 -02:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2016-02-04 16:27:30 -02:00
2015-04-28 09:30:33 -03:00
2016-02-23 07:24:17 -03:00
2015-04-08 15:02:07 -03:00
2016-01-25 12:01:08 -02:00
2013-04-22 16:58:16 -03:00
2015-10-03 11:44:32 -03:00
2015-04-08 15:02:07 -03:00
2016-08-24 16:22:16 -03:00
2015-06-09 17:47:35 -03:00
2013-03-21 10:26:50 -03:00
2015-04-08 15:02:07 -03:00
2016-06-07 17:10:04 -03:00
2015-04-08 15:02:07 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2016-09-19 16:22:55 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2016-09-19 16:22:55 -03:00
2016-06-07 12:04:27 -03:00
2016-09-19 16:22:55 -03:00
2015-10-22 15:48:22 -02:00
2015-12-04 10:38:59 -02:00
2015-12-04 10:38:59 -02:00
2015-12-04 10:38:59 -02:00
2015-12-04 10:38:59 -02:00
2015-04-08 15:02:07 -03:00
2013-11-08 09:45:38 -02:00
2015-04-08 15:02:07 -03:00
2016-09-19 16:22:55 -03:00
2015-04-08 15:02:07 -03:00
2016-09-22 10:43:09 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2014-12-22 17:52:20 -02:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2016-09-22 12:52:04 -03:00
2015-04-08 15:05:12 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2016-02-04 16:27:28 -02:00
2015-04-08 15:02:07 -03:00
2015-04-08 15:02:07 -03:00
2015-08-11 14:59:05 -03:00
2015-10-22 15:48:22 -02:00
2015-12-04 10:38:59 -02:00
2015-12-04 10:38:59 -02:00
2015-12-04 10:38:59 -02:00
2015-12-04 10:38:59 -02:00
2016-07-08 16:58:05 -03:00
2016-07-08 16:58:41 -03:00
2015-06-10 11:10:27 -03:00
2016-06-10 08:41:36 -03:00
2015-04-08 15:02:07 -03:00
2016-06-07 15:46:47 -03:00
2015-06-09 17:47:35 -03:00
2015-06-09 17:47:35 -03:00
2016-09-05 15:26:30 -03:00
2015-04-28 09:26:02 -03:00
2016-06-07 15:46:47 -03:00
2016-06-07 15:46:47 -03:00
2016-06-07 15:41:58 -03:00
2016-03-03 09:26:05 -03:00
2016-06-07 15:39:01 -03:00
2016-03-03 09:26:05 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2016-07-08 17:02:33 -03:00
2016-07-08 17:02:33 -03:00
2015-02-03 16:30:26 -02:00
2016-06-09 08:48:46 -03:00
2016-08-24 08:46:41 -03:00
2016-05-04 22:40:02 +02:00
2016-07-08 17:02:53 -03:00
2016-05-04 22:40:02 +02:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2016-02-04 16:27:30 -02:00
2015-04-28 09:26:02 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2014-09-23 16:13:33 -03:00
2016-09-22 12:53:22 -03:00
2015-04-08 15:05:12 -03:00
2016-07-08 16:53:55 -03:00
2016-07-08 16:54:28 -03:00
2015-05-12 13:16:37 -03:00
2014-09-02 15:06:49 -03:00
2015-08-11 12:58:20 -03:00
2014-09-02 15:06:49 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-02-03 18:16:18 -02:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2016-09-19 16:22:55 -03:00
2015-04-08 15:02:07 -03:00
2015-11-17 06:45:05 -02:00
2015-11-17 06:45:05 -02:00
2016-09-19 16:22:55 -03:00
2015-11-17 06:41:53 -02:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2016-02-23 07:21:42 -03:00
2015-05-01 06:13:23 -03:00
2015-04-08 15:02:07 -03:00
2016-09-19 16:22:55 -03:00
2015-04-08 15:02:07 -03:00
2016-02-01 07:31:17 -02:00
2016-09-19 16:22:55 -03:00
2016-02-01 07:31:17 -02:00
2016-02-04 16:27:30 -02:00
2014-09-23 17:04:00 -03:00
2016-09-19 16:22:55 -03:00
2015-04-08 15:02:07 -03:00
2016-09-19 16:22:55 -03:00
2015-04-08 15:02:07 -03:00
2015-04-08 15:02:07 -03:00
2016-02-09 08:56:42 -02:00
2015-04-08 15:02:07 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2015-11-17 06:43:59 -02:00
2016-09-19 16:22:55 -03:00
2015-04-08 15:02:07 -03:00
2016-02-04 16:27:30 -02:00
2016-02-04 16:27:30 -02:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2015-08-11 07:34:58 -03:00
2016-02-04 16:27:30 -02:00
2015-08-11 07:10:53 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2014-07-04 15:33:46 -03:00
2016-09-19 16:22:55 -03:00
2015-04-08 15:02:07 -03:00
2015-12-04 10:38:59 -02:00
2016-09-19 16:22:55 -03:00
2015-06-10 11:12:25 -03:00
2016-09-19 16:22:55 -03:00
2015-04-08 15:02:07 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2016-02-04 16:27:30 -02:00
2015-04-08 15:02:07 -03:00
2016-09-19 16:22:55 -03:00
2015-04-08 15:02:07 -03:00
2016-09-19 16:22:55 -03:00
2015-04-08 15:02:07 -03:00
2016-05-06 08:44:17 -03:00
2015-04-08 15:02:07 -03:00