Re: [PATCH v2] w1: mxc_w1: Enable clock before calling clk_get_rate() on it

2018-05-08 Thread Evgeniy Polyakov
Hi Stefan 02.05.2018, 11:55, "Stefan Potyra" : > 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

Re: [PATCH v2] w1: mxc_w1: Enable clock before calling clk_get_rate() on it

2018-05-08 Thread Evgeniy Polyakov
Hi Stefan 02.05.2018, 11:55, "Stefan Potyra" : > 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:

[PATCH v2] w1: mxc_w1: Enable clock before calling clk_get_rate() on it

2018-05-02 Thread Stefan Potyra
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 ---

[PATCH v2] w1: mxc_w1: Enable clock before calling clk_get_rate() on it

2018-05-02 Thread Stefan Potyra
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 --- drivers/w1/masters/mxc_w1.c | 20