14 Sep
2011
14 Sep
'11
4:05 a.m.
2011/9/13 Mark Brown broonie@opensource.wolfsonmicro.com:
On Tue, Sep 13, 2011 at 10:44:22PM +0800, Axel Lin wrote:
clk_get() returns a pointer to the struct clk or an ERR_PTR().
Are you sure that the Samsung clock implementation actually does this?
Yes. In arch/arm/Kconfig, all samsung platforms select CLKDEV_LOOKUP. The implementation of clk_get() in drivers/clk/clkdev.c returns ERR_PTR() on failure.
Regards, Axel