Re: [PATCH] clk: core: Copy connection id

2017-03-07 Thread sb...@codeaurora.org
On 03/02, Leonard Crestez wrote: > On Tue, 2017-02-28 at 00:05 -0800, sb...@codeaurora.org wrote: > > Sure. clk_get_sys() could be called and then we could have > > something sprintf the dev_id there. A quick grep doesn't show any > > place where that happens though so it seems safe right now. > >

Re: [PATCH] clk: core: Copy connection id

2017-03-02 Thread Leonard Crestez
On Tue, 2017-02-28 at 00:05 -0800, sb...@codeaurora.org wrote: > On 02/25, Leonard Crestez wrote: > > > > On Fri, 2017-02-24 at 12:44 -0800, Stephen Boyd wrote: > > > > > > On 02/20, Leonard Crestez wrote: > > > > > > > > Some drivers use sprintf to build clk connection id names but > > > > the

Re: [PATCH] clk: core: Copy connection id

2017-02-28 Thread sb...@codeaurora.org
On 02/25, Leonard Crestez wrote: > On Fri, 2017-02-24 at 12:44 -0800, Stephen Boyd wrote: > > On 02/20, Leonard Crestez wrote: > > > Some drivers use sprintf to build clk connection id names but the > > > clk > > > core will save those strings and occasionally print them back. > > > Duplicate > > >

Re: [PATCH] clk: core: Copy connection id

2017-02-25 Thread Leonard Crestez
On Fri, 2017-02-24 at 12:44 -0800, Stephen Boyd wrote: > On 02/20, Leonard Crestez wrote: > > Some drivers use sprintf to build clk connection id names but the > > clk > > core will save those strings and occasionally print them back. > > Duplicate > > the con_id strings instead of fixing all the u

Re: [PATCH] clk: core: Copy connection id

2017-02-24 Thread Stephen Boyd
On 02/20, Leonard Crestez wrote: > Some drivers use sprintf to build clk connection id names but the clk > core will save those strings and occasionally print them back. Duplicate > the con_id strings instead of fixing all the users. > > Signed-off-by: Leonard Crestez > --- > drivers/clk/clk.c |

[PATCH] clk: core: Copy connection id

2017-02-20 Thread Leonard Crestez
Some drivers use sprintf to build clk connection id names but the clk core will save those strings and occasionally print them back. Duplicate the con_id strings instead of fixing all the users. Signed-off-by: Leonard Crestez --- drivers/clk/clk.c | 3 ++- 1 file changed, 2 insertions(+), 1 dele