Skip to content
Commit 4cb24e68 authored by Axel Lin's avatar Axel Lin Committed by Mike Turquette
Browse files

clk: mvebu: Fix valid value range checking for cpu_freq_select



cpu_freq_select is used as array subscript, thus the valid value range
is 0 ... ARRAY_SIZE() - 1.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
[mturquette@linaro.org: fixed up trivial merge issues]
parent a68de8e4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment