Stefan Potyra 955bc61328 w1: mxc_w1: Enable clock before calling clk_get_rate() on it
According to the API, you may only call clk_get_rate() after actually
enabling it.

Found by Linux Driver Verification project (linuxtesting.org).

Fixes: a5fd9139f74c ("w1: add 1-wire master driver for i.MX27 / i.MX31")
Signed-off-by: Stefan Potyra <Stefan.Potyra@elektrobit.com>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-14 16:32:00 +02:00
..
2018-04-26 11:06:36 -07:00
2018-04-27 10:12:20 -07:00
2018-04-25 21:05:15 -07:00
2018-04-30 05:05:54 -07:00
2018-04-28 09:45:34 -07:00
2018-04-19 15:11:50 -07:00
2018-04-10 12:14:37 -07:00
2018-04-04 20:07:20 -07:00
2018-03-27 09:51:22 +02:00
2018-04-30 05:05:54 -07:00
2018-04-05 21:03:42 -07:00
2018-04-27 14:12:43 +02:00
2018-04-05 14:27:02 -07:00
2018-04-11 18:50:41 -07:00
2018-04-11 18:50:41 -07:00
2018-04-12 21:46:10 -04:00
2018-04-07 12:08:19 -07:00
2018-04-10 12:09:27 -07:00
2018-04-18 23:37:25 -04:00
2018-04-20 10:41:31 -07:00
2018-04-04 20:07:20 -07:00
2018-04-26 16:28:24 -07:00
2018-04-05 21:29:35 -07:00
2018-04-05 21:21:08 -07:00
2018-04-05 21:21:08 -07:00
2018-04-13 15:46:21 -07:00
2018-04-03 12:06:21 -07:00
2018-04-26 19:29:24 +02:00
2018-04-06 19:44:27 -07:00
2018-04-10 10:20:00 -07:00
2018-04-11 18:58:27 -07:00
2018-03-29 13:38:10 +03:00