aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorChen-Yu Tsai <[email protected]>2022-02-08 12:40:34 +0000
committerStephen Boyd <[email protected]>2022-02-17 20:12:25 +0000
commitd54bb86b89556712d92154a386b421012fecf79e (patch)
treeb76779b2ad6518cd92ad106bbac8e1012d157aa5 /fs/proc/array.c
parentclk: mediatek: mt8195: Implement remove functions (diff)
downloadkernel-d54bb86b89556712d92154a386b421012fecf79e.tar.gz
kernel-d54bb86b89556712d92154a386b421012fecf79e.zip
clk: mediatek: Warn if clk IDs are duplicated
The Mediatek clk driver library handles duplicate clock IDs in two different ways: either ignoring the duplicate entry, or overwriting the old clk. Either way may cause unexpected behavior, and the latter also causes an orphan clk that cannot be cleaned up. Align the behavior so that later duplicate entries are ignored, and a warning printed. The warning will also aid in making the issue noticeable. Signed-off-by: Chen-Yu Tsai <[email protected]> Reviewed-by: Miles Chen <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions