diff options
| author | Yegor Yefremov <yegorslists@googlemail.com> | 2017-01-18 11:35:57 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-01 08:30:53 +0100 |
| commit | bca1a95c9e208271e7af7781862f779a9fbaf740 (patch) | |
| tree | cd17df6905f0b2b05f4dfb6254bf83572df0346f /tools/perf/scripts/python | |
| parent | 63fe33a7842883bae9f526b324eb5d807a098ee9 (diff) | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
