Re: [PATCH] clk: mvebu: armada-37xx-periph: Fix the clock provider registration

2016-10-17 Thread Stephen Boyd
On 09/29, Gregory CLEMENT wrote: > While trying using a peripheral clock on a driver, I saw that the clock > pointer returned by the provider was NULL. > > The problem was a missing indirection. It was the pointer stored in the > hws array which needed to be updated not the value it contains. >

Re: [PATCH] clk: mvebu: armada-37xx-periph: Fix the clock provider registration

2016-10-17 Thread Stephen Boyd
On 09/29, Gregory CLEMENT wrote: > While trying using a peripheral clock on a driver, I saw that the clock > pointer returned by the provider was NULL. > > The problem was a missing indirection. It was the pointer stored in the > hws array which needed to be updated not the value it contains. >

Re: [PATCH] clk: mvebu: armada-37xx-periph: Fix the clock provider registration

2016-10-17 Thread Stephen Boyd
On 10/07, Gregory CLEMENT wrote: > Hi Stephen and Mike > > On jeu., sept. 29 2016, Gregory CLEMENT > wrote: > > > While trying using a peripheral clock on a driver, I saw that the clock > > pointer returned by the provider was NULL. > > > > The problem was

Re: [PATCH] clk: mvebu: armada-37xx-periph: Fix the clock provider registration

2016-10-17 Thread Stephen Boyd
On 10/07, Gregory CLEMENT wrote: > Hi Stephen and Mike > > On jeu., sept. 29 2016, Gregory CLEMENT > wrote: > > > While trying using a peripheral clock on a driver, I saw that the clock > > pointer returned by the provider was NULL. > > > > The problem was a missing indirection. It was the

Re: [PATCH] clk: mvebu: armada-37xx-periph: Fix the clock provider registration

2016-10-07 Thread Gregory CLEMENT
Hi Stephen and Mike On jeu., sept. 29 2016, Gregory CLEMENT wrote: > While trying using a peripheral clock on a driver, I saw that the clock > pointer returned by the provider was NULL. > > The problem was a missing indirection. It was the pointer stored

Re: [PATCH] clk: mvebu: armada-37xx-periph: Fix the clock provider registration

2016-10-07 Thread Gregory CLEMENT
Hi Stephen and Mike On jeu., sept. 29 2016, Gregory CLEMENT wrote: > While trying using a peripheral clock on a driver, I saw that the clock > pointer returned by the provider was NULL. > > The problem was a missing indirection. It was the pointer stored in the > hws array which needed to be

[PATCH] clk: mvebu: armada-37xx-periph: Fix the clock provider registration

2016-09-29 Thread Gregory CLEMENT
While trying using a peripheral clock on a driver, I saw that the clock pointer returned by the provider was NULL. The problem was a missing indirection. It was the pointer stored in the hws array which needed to be updated not the value it contains. Signed-off-by: Gregory CLEMENT

[PATCH] clk: mvebu: armada-37xx-periph: Fix the clock provider registration

2016-09-29 Thread Gregory CLEMENT
While trying using a peripheral clock on a driver, I saw that the clock pointer returned by the provider was NULL. The problem was a missing indirection. It was the pointer stored in the hws array which needed to be updated not the value it contains. Signed-off-by: Gregory CLEMENT ---