diff options
author | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2016-09-29 17:28:55 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-10-18 01:31:49 +0300 |
commit | 981e1bea55e56abdb16505502e4a69ff868e87d3 (patch) | |
tree | 46b022783dbb1c8c7188d009b466e97689b056a1 /drivers/clk/clk-stm32f4.c | |
parent | 339e1e54891c339b30023c9cc8a005cbf65a3c0c (diff) | |
download | linux-981e1bea55e56abdb16505502e4a69ff868e87d3.tar.xz |
clk: mvebu: armada-37xx-periph: Fix the clock provider registration
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 <gregory.clement@free-electrons.com>
Fixes: 8ca4746a78ab ("clk: mvebu: Add the peripheral clock driver for Armada 3700")
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/clk-stm32f4.c')
0 files changed, 0 insertions, 0 deletions