summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2017-01-18 11:35:57 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2017-01-18 13:03:15 +0100
commitbefa60113ce7ea270cb51eada28443ca2756f480 (patch)
tree3d400732209054a870e2a82c385e5f4c59394402 /net/core
parentc97c52be78b8463ac5407f1cf1f22f8f6cf93a37 (diff)
can: ti_hecc: add missing prepare and unprepare of the clock
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> Cc: linux-stable <stable@vger.kernel.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions