Rhyland Klein
82d8eb40ba
mfd: max77620: Fix FPS switch statements
...
When configuring FPS during probe, assuming a DT node is present for
FPS, the code can run into a problem with the switch statements in
max77620_config_fps() and max77620_get_fps_period_reg_value(). Namely,
in the case of chip->chip_id == MAX77620, it will set
fps_[mix|max]_period but then fall through to the default switch case
and return -EINVAL. Returning this from max77620_config_fps() will
cause probe to fail.
Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Tested-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2016-06-30 07:44:23 +01:00
..
2016-01-14 08:43:50 +00:00
2016-01-14 08:43:51 +00:00
2016-01-14 08:43:52 +00:00
2016-01-14 08:43:53 +00:00
2016-01-14 08:43:53 +00:00
2016-01-14 08:43:54 +00:00
2016-05-09 16:26:15 +01:00
2016-01-14 08:43:56 +00:00
2016-01-14 08:43:56 +00:00
2016-04-19 07:54:40 +01:00
2016-01-14 08:43:57 +00:00
2016-05-09 08:20:37 +01:00
2016-01-14 08:43:58 +00:00
2016-04-19 07:54:00 +01:00
2015-12-04 08:46:39 +00:00
2015-12-04 08:46:39 +00:00
2016-04-19 07:54:50 +01:00
2016-05-09 08:24:46 +01:00
2016-04-19 07:58:06 +01:00
2016-04-19 07:54:58 +01:00
2016-02-12 08:53:03 +00:00
2016-04-19 07:54:08 +01:00
2016-05-09 15:41:14 +01:00
2016-04-19 07:55:05 +01:00
2016-01-14 08:44:01 +00:00
2016-01-14 08:44:01 +00:00
2016-03-16 08:50:22 +00:00
2016-01-14 08:44:02 +00:00
2016-01-14 08:44:03 +00:00
2016-01-14 08:44:03 +00:00
2016-01-14 08:44:04 +00:00
2015-11-06 10:23:50 -08:00
2016-03-16 08:50:27 +00:00
2016-03-16 08:50:31 +00:00
2016-04-19 07:53:42 +01:00
2016-01-14 08:44:05 +00:00
2016-03-18 10:15:11 -07:00
2016-05-09 08:23:56 +01:00
2016-02-11 15:40:41 +00:00
2016-05-18 08:25:26 +01:00
2016-04-19 07:55:15 +01:00
2016-04-19 07:58:23 +01:00
2016-04-19 07:58:30 +01:00
2016-05-20 11:10:24 -07:00
2016-05-09 13:27:40 +01:00
2016-04-09 03:10:50 +02:00
2016-04-09 03:10:50 +02:00
2016-05-20 11:10:24 -07:00
2016-04-09 03:10:50 +02:00
2016-03-16 08:50:41 +00:00
2016-05-18 08:25:26 +01:00
2016-04-19 07:55:23 +01:00
2016-04-11 13:31:40 +01:00
2015-11-24 11:10:46 +00:00
2016-05-18 08:25:26 +01:00
2016-01-14 08:43:50 +00:00
2016-01-14 08:43:50 +00:00
2016-01-14 08:43:50 +00:00
2016-01-14 08:43:50 +00:00
2016-06-30 07:44:23 +01:00
2016-05-09 13:27:20 +01:00
2016-04-19 07:59:14 +01:00
2016-01-14 08:43:50 +00:00
2015-12-04 08:45:54 +00:00
2016-02-16 00:20:03 +01:00
2016-04-19 07:55:30 +01:00
2016-05-20 11:10:24 -07:00
2016-05-09 08:20:22 +01:00
2016-05-09 15:41:48 +01:00
2015-12-04 08:46:23 +00:00
2016-01-11 06:23:32 +00:00
2016-05-09 13:27:38 +01:00
2016-05-09 13:27:38 +01:00
2016-04-19 07:55:52 +01:00
2016-04-19 07:55:59 +01:00
2016-04-19 07:56:06 +01:00
2016-04-19 07:56:17 +01:00
2015-11-06 10:47:12 -08:00
2016-05-09 13:27:38 +01:00
2016-05-09 13:27:38 +01:00
2016-04-19 07:56:28 +01:00
2016-04-19 07:58:37 +01:00
2016-05-09 08:24:01 +01:00
2016-01-11 06:23:38 +00:00
2016-03-16 08:50:37 +00:00
2016-04-19 07:56:35 +01:00
2016-03-16 08:50:18 +00:00
2016-04-19 07:58:44 +01:00
2015-11-17 06:58:42 -02:00
2016-05-09 08:21:11 +01:00
2016-04-19 07:56:42 +01:00
2016-04-19 07:58:51 +01:00
2016-03-16 08:50:15 +00:00
2016-03-16 08:50:36 +00:00
2016-04-19 07:56:49 +01:00
2016-05-09 13:27:39 +01:00
2016-02-11 16:30:59 +00:00
2016-02-11 16:30:59 +00:00
2016-02-11 16:30:59 +00:00
2016-05-27 15:26:11 -07:00
2016-05-09 08:24:41 +01:00
2016-05-09 08:23:52 +01:00
2016-04-19 07:59:00 +01:00
2016-04-19 07:59:06 +01:00
2016-05-09 13:27:39 +01:00
2016-01-11 06:23:21 +00:00
2016-03-16 08:50:21 +00:00
2016-05-09 15:41:35 +01:00
2016-05-09 08:23:56 +01:00
2016-03-16 08:50:22 +00:00