Finley Xiao
43310d2dde
cpufreq: rockchip: limit frequency when reboot
...
If i2c driver adds a shutdown callback function, the callback will be
executed before cpu's shutdown callback when reboot system, it will
fail to scale voltage like the following.
rk3x-i2c ff650000.i2c: Access denied - device already shutdown
rk3x-i2c ff650000.i2c: Access denied - device already shutdown
rk3x-i2c ff650000.i2c: Access denied - device already shutdown
rk3x-i2c ff650000.i2c: Access denied - device already shutdown
cpu cpu4: _set_opp_voltage: failed to set voltage
(950000 950000 1350000 mV):-5
So add a reboot notifier to limit frequency before i2c's shutdown callback,
and the cpu's shutdown callback will do nothing.
Change-Id: Ic5bb21b511c6f799dc62fd9db237d90522b7d4ee
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
2017-05-18 09:22:27 +08:00
..
2017-05-06 14:23:00 +08:00
2017-04-10 13:28:07 +05:30
2017-03-22 14:17:14 +08:00
2017-05-06 14:23:00 +08:00
2017-03-12 06:37:30 +01:00
2017-04-21 09:30:06 +02:00
2017-03-31 11:43:47 +08:00
2017-01-19 20:17:22 +01:00
2017-04-23 12:02:14 +08:00
2017-05-16 15:39:37 +08:00
2017-03-01 18:40:28 +08:00
2017-05-18 09:22:27 +08:00
2016-10-18 12:31:07 +08:00
2017-04-18 07:14:36 +02:00
2017-05-17 11:45:45 +08:00
2017-05-04 14:53:05 +08:00
2017-05-16 18:33:15 +08:00
2016-09-07 08:32:41 +02:00
2016-10-07 15:42:26 +08:00
2016-11-10 16:36:35 +01:00
2017-05-16 09:27:25 +08:00
2017-04-28 17:43:16 +08:00
2017-05-12 19:28:51 +08:00
2017-01-06 18:25:43 +08:00
2017-04-24 19:28:56 +08:00
2017-04-27 09:09:34 +02:00
2017-03-01 18:40:28 +08:00
2017-03-24 11:27:10 +08:00
2017-03-01 18:40:28 +08:00
2016-09-15 08:27:46 +02:00
2017-05-06 14:23:00 +08:00
2017-03-15 09:57:13 +08:00
2017-05-06 14:23:00 +08:00
2017-05-06 14:23:00 +08:00
2017-05-06 14:23:00 +08:00
2017-03-26 12:13:19 +02:00
2016-09-24 10:07:35 +02:00
2017-05-08 15:46:26 +08:00
2016-06-01 12:15:53 -07:00
2017-05-04 12:01:39 +08:00
2017-05-10 19:02:45 +08:00
2016-07-27 09:47:35 -07:00
2016-10-28 03:01:35 -04:00
2017-05-16 09:22:49 +08:00
2017-05-06 14:23:00 +08:00
2017-05-06 14:23:00 +08:00
2017-05-06 14:23:00 +08:00
2017-05-18 09:19:30 +08:00
2016-12-02 20:31:31 +08:00
2017-02-23 17:43:10 +01:00
2017-04-21 09:30:06 +02:00
2017-01-05 09:17:28 +08:00
2017-05-11 19:21:53 +08:00
2016-12-02 20:31:31 +08:00
2017-03-30 09:35:17 +02:00
2017-05-06 14:23:00 +08:00
2016-11-04 14:30:24 +08:00
2017-05-08 17:34:25 +08:00
2017-05-06 14:23:00 +08:00
2017-05-06 14:23:00 +08:00
2016-08-16 09:30:48 +02:00
2017-05-12 14:22:14 +08:00
2016-08-10 11:49:25 +02:00
2017-03-31 11:43:47 +08:00
2017-05-02 21:19:49 -07:00
2016-08-20 18:09:20 +02:00
2017-04-27 16:38:02 +08:00
2017-05-06 14:23:00 +08:00
2017-03-30 09:35:20 +02:00
2017-04-23 12:02:14 +08:00
2017-05-12 19:30:26 +08:00
2017-03-01 18:40:28 +08:00
2017-01-09 08:07:42 +01:00
2017-05-16 18:34:02 +08:00
2017-04-28 18:35:47 +08:00
2017-04-21 09:30:05 +02:00
2017-04-24 10:38:57 +08:00
2016-06-01 12:15:53 -07:00
2017-05-06 14:23:00 +08:00
2016-10-31 04:13:59 -06:00
2017-05-06 14:23:00 +08:00
2017-03-30 09:35:17 +02:00
2017-04-30 05:49:29 +02:00
2016-09-15 08:27:53 +02:00
2017-05-06 14:23:00 +08:00
2017-03-31 09:49:53 +02:00
2017-01-19 20:17:21 +01:00
2017-03-20 12:03:10 +08:00
2016-05-13 12:20:56 +08:00
2017-03-30 09:35:18 +02:00
2016-09-27 18:14:36 +08:00
2016-09-27 18:14:36 +08:00