Thread (7 messages) flat view 7 messages, 4 authors, 2012-07-18
STALE5173d

[PATCH] can: flexcan: add 2nd clock to support imx53 and newer

From: s.hauer@pengutronix.de (Sascha Hauer)
Date: 2012-07-18 08:49:44
Also in: linux-can

On Wed, Jul 18, 2012 at 10:37:22AM +0200, Marc Kleine-Budde wrote:
Yes, good catch.

Is it allowed to call clk_put with a NULL pointer?
As NULL is a valid clock by definition it is allowed to do this.
However, calling clk_put with a NULL pointer when a corresponding
call to clk_get never returned NULL is probably not a good idea.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help