Boris Brezillon
f96423f483
clk: at91: fix clk_programmable_set_parent()
...
Since commit 1bdf02326b71e ("clk: at91: make use of syscon/regmap
internally"), clk_programmable_set_parent() is always selecting the
first parent (AKA slow_clk), no matter what's passed in the 'index'
parameter.
Fix that by initializing the pckr variable to the index value.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Reported-by: Hans Verkuil <hans.verkuil@cisco.com>
Fixes: 1bdf02326b71e ("clk: at91: make use of syscon/regmap internally")
Cc: <stable@vger.kernel.org>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
Link: lkml.kernel.org/r/1468828152-18389-1-git-send-email-boris.brezillon@free-electrons.com
2016-07-18 17:45:41 -07:00
..
2016-07-18 17:45:41 -07:00
2016-04-15 16:02:16 -07:00
2016-05-06 10:35:04 -07:00
2016-05-06 11:06:44 -07:00
2015-11-10 15:00:03 -08:00
2016-02-26 16:01:32 -08:00
2016-05-06 11:13:32 -07:00
2016-05-12 14:48:26 -07:00
2016-05-12 14:48:25 -07:00
2015-10-19 15:29:09 -07:00
2016-05-06 17:47:42 +02:00
2016-04-15 16:49:59 -07:00
2016-06-01 14:52:54 -07:00
2016-04-15 16:50:01 -07:00
2016-05-06 15:27:02 -07:00
2016-03-02 17:44:59 -08:00
2016-05-06 10:55:11 -07:00
2015-08-26 11:34:43 -07:00
2016-03-23 06:06:45 -07:00
2016-05-12 14:48:28 -07:00
2016-04-28 10:32:55 +02:00
2016-06-03 15:36:49 +02:00
2016-04-15 18:57:00 +02:00
2016-04-15 16:50:04 -07:00
2016-02-22 14:17:37 -08:00
2016-03-02 17:46:55 -08:00
2016-02-26 16:01:32 -08:00
2016-06-16 09:18:29 +02:00
2016-05-27 15:26:11 -07:00
2016-05-20 20:18:12 -07:00
2016-03-02 17:48:03 -08:00
2016-03-15 15:19:21 -07:00
2016-03-03 11:27:26 -08:00
2016-04-15 16:50:07 -07:00
2016-03-02 17:48:26 -08:00
2015-05-13 12:32:52 -07:00
2016-01-29 17:11:02 -08:00
2015-05-13 12:32:53 -07:00
2015-08-24 16:48:44 -07:00
2015-07-20 11:11:32 -07:00
2016-04-15 16:50:09 -07:00
2016-04-21 14:47:18 -07:00
2015-05-21 11:55:05 -07:00
2015-11-30 16:33:38 -08:00
2016-04-19 16:55:01 -07:00
2016-03-02 17:48:47 -08:00
2016-04-19 16:56:28 -07:00
2016-04-19 16:57:12 -07:00
2016-04-19 16:56:28 -07:00
2016-04-19 16:55:01 -07:00
2016-04-19 16:56:28 -07:00
2015-07-20 11:11:22 -07:00
2016-04-15 16:50:10 -07:00
2016-03-15 15:19:49 -07:00
2016-03-15 15:19:49 -07:00
2015-05-14 17:11:18 -07:00
2016-03-03 11:27:48 -08:00
2015-07-20 11:11:33 -07:00
2016-01-29 12:59:50 -08:00
2016-04-19 16:55:01 -07:00
2015-07-20 10:52:57 -07:00
2016-04-15 16:50:12 -07:00
2016-06-20 17:00:29 -07:00
2016-04-15 16:50:14 -07:00
2016-05-17 14:45:00 +02:00
2016-04-19 18:56:15 -07:00
2016-04-15 16:50:18 -07:00
2016-03-02 17:50:32 -08:00
2016-03-02 17:50:58 -08:00
2016-03-02 17:51:13 -08:00
2016-03-02 17:51:13 -08:00
2016-03-02 17:51:13 -08:00
2015-08-24 16:48:51 -07:00
2016-04-15 17:16:06 -07:00
2016-04-15 16:50:21 -07:00
2015-07-20 10:53:04 -07:00
2016-02-02 11:53:17 -08:00
2016-04-15 16:50:23 -07:00
2016-04-15 16:50:27 -07:00
2016-05-19 14:09:30 -07:00
2015-03-12 12:20:34 -07:00
2016-04-19 16:54:26 -07:00
2016-06-01 15:14:06 -07:00
2016-05-20 20:18:12 -07:00