Michael and Stephen,

Can you help me to understand "#define MAX_CON_ID 16" in clkdev.c? I am trying
to use clk_get() to acquire the clock with its name. This fails when the clock
name is more than 15 characters. I traced it to this macro.

The reason of using clk_get() is I don't have device tree for my platform until
device tree overlay is officially supported. So I use clkdev_add() in the clock
driver.

So my issue is with the MAX_CON_ID. Is there a reason to limit it to 16?
Wouldn't it be better to use kstrdup() in vclkdev_alloc()?

York
--
To unsubscribe from this list: send the line "unsubscribe linux-clk" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to