Re: [PATCH v2 1/3] clkdev: Always allocate a struct clk and call __clk_get() w/ CCF

2015-02-10 Thread Mike Turquette
Quoting Stephen Boyd (2015-02-06 11:42:43) > of_clk_get_by_clkspec() returns a struct clk pointer but it > doesn't create a new handle for the consumers when we're using > the common clock framework. Instead it just returns whatever the > clk provider hands out. When the consumers go to call

Re: [PATCH v2 1/3] clkdev: Always allocate a struct clk and call __clk_get() w/ CCF

2015-02-10 Thread Mike Turquette
Quoting Stephen Boyd (2015-02-06 11:42:43) of_clk_get_by_clkspec() returns a struct clk pointer but it doesn't create a new handle for the consumers when we're using the common clock framework. Instead it just returns whatever the clk provider hands out. When the consumers go to call clk_put()

[PATCH v2 1/3] clkdev: Always allocate a struct clk and call __clk_get() w/ CCF

2015-02-06 Thread Stephen Boyd
of_clk_get_by_clkspec() returns a struct clk pointer but it doesn't create a new handle for the consumers when we're using the common clock framework. Instead it just returns whatever the clk provider hands out. When the consumers go to call clk_put() we get an Oops. Unable to handle kernel

[PATCH v2 1/3] clkdev: Always allocate a struct clk and call __clk_get() w/ CCF

2015-02-06 Thread Stephen Boyd
of_clk_get_by_clkspec() returns a struct clk pointer but it doesn't create a new handle for the consumers when we're using the common clock framework. Instead it just returns whatever the clk provider hands out. When the consumers go to call clk_put() we get an Oops. Unable to handle kernel