Thread (9 messages) 9 messages, 2 authors, 2016-09-23

[PATCH v3 2/3] clk: mvebu: dynamically allocate resources in Armada CP110 system controller

From: Stephen Boyd <hidden>
Date: 2016-09-23 21:44:58
Also in: linux-clk, lkml, stable

On 09/21, Marcin Wojtas wrote:
Original commit, which added support for Armada CP110 system controller
used global variables for storing all clock information. It worked
fine for Armada 7k SoC, with single CP110 block. After dual-CP110 Armada 8k
was introduced, the data got overwritten and corrupted.

This patch fixes the issue by allocating resources dynamically in the
driver probe and storing it as platform drvdata.

Fixes: d3da3eaef7f4 ("clk: mvebu: new driver for Armada CP110 system ...")
Signed-off-by: Marcin Wojtas <redacted>
Reviewed-by: Thomas Petazzoni <redacted>
CC: <redacted>
---
Applied to clk-next

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help