summaryrefslogtreecommitdiffstats
path: root/drivers/net/can/sja1000/peak_pci.c
diff options
context:
space:
mode:
authorDavid Dueck <davidcdueck@googlemail.com>2014-09-17 14:26:48 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2014-09-18 11:15:37 +0200
commite77980e50bc2850599d4d9c0192b67a9ffd6daac (patch)
tree008ba8530575b4b7668582cb139d1ab00406efaf /drivers/net/can/sja1000/peak_pci.c
parent4c728d804c4b9d1ae7f76e8f32c419bc21a6e540 (diff)
can: at91_can: 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(). While there, add the missing error handling. Signed-off-by: David Dueck <davidcdueck@googlemail.com> Signed-off-by: Anthony Harivel <anthony.harivel@emtrion.de> Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com> Cc: linux-stable <stable@vger.kernel.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/sja1000/peak_pci.c')
0 files changed, 0 insertions, 0 deletions