diff options
| author | Yegor Yefremov <yegorslists@googlemail.com> | 2017-01-18 11:35:57 +0100 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-07-04 11:51:05 +0200 |
| commit | 69b66a3754828e0163fd3b3927dd353ab545a066 (patch) | |
| tree | 3cdf53f57c30b62020d962026000dbf90a2b3a4f /kernel/sysctl.c | |
| parent | 6780847d637b3c02c5d87c1b3186aba2c86af06c (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: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions
