[PATCH] can: ti_hecc: add missing prepare and unprepare of the clock

2017-01-18 Thread yegorslists
From: Yegor Yefremov In order to make the driver work with the common clock framework, this patch converts the clk_enable()/clk_disable() to clk_prepare_enable()/clk_disable_unprepare(). Signed-off-by: Yegor Yefremov --- drivers/net/can/ti_hecc.c | 9 + 1 file changed, 5 insertions(+),

Re: [PATCH] can: ti_hecc: add missing prepare and unprepare of the clock

2017-01-18 Thread Marc Kleine-Budde
On 01/18/2017 10:43 AM, yegorsli...@googlemail.com wrote: > From: Yegor Yefremov > > In order to make the driver work with the common clock framework, this > patch converts the clk_enable()/clk_disable() to > clk_prepare_enable()/clk_disable_unprepare(). > Can you add the missing error checking

Re: [PATCH] can: ti_hecc: add missing prepare and unprepare of the clock

2017-01-18 Thread Yegor Yefremov
On Wed, Jan 18, 2017 at 11:01 AM, Marc Kleine-Budde wrote: > On 01/18/2017 10:43 AM, yegorsli...@googlemail.com wrote: >> From: Yegor Yefremov >> >> In order to make the driver work with the common clock framework, this >> patch converts the clk_enable()/clk_disable() to >> clk_prepare_enable()/c