diff options
author | Yegor Yefremov <yegorslists@googlemail.com> | 2017-01-18 10:35:57 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-01 07:33:08 (GMT) |
commit | 50f5972cc23179e90e8452998bcb609694a9d927 (patch) | |
tree | 88af5c371bf62af6c8026dbbba370b506bac2892 /arch/arc/Makefile | |
parent | 9f56548b007769191f7dff7585eb317369991c22 (diff) | |
download | linux-50f5972cc23179e90e8452998bcb609694a9d927.tar.xz |
can: ti_hecc: add missing prepare and unprepare of the clock
commit befa60113ce7ea270cb51eada28443ca2756f480 upstream.
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().
Also add error checking for clk_prepare_enable().
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arc/Makefile')
0 files changed, 0 insertions, 0 deletions