summaryrefslogtreecommitdiff
path: root/mm/util.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2010-01-18 06:57:42 (GMT)
committerBen Dooks <ben-linux@fluff.org>2010-01-18 07:00:56 (GMT)
commitf9e011b6b305d38445bbd4a1e7a8814e056de37b (patch)
treee468845831a2061edd25f1f41b57b0b111e3d9d3 /mm/util.c
parentf3b464cca94c4a8f54fbc11ec5af8b143fd1750b (diff)
downloadlinux-fsl-qoriq-f9e011b6b305d38445bbd4a1e7a8814e056de37b.tar.xz
ARM: SAMSUNG: Fix bug in clksrc-clk round_rate call.
The call has been assuming all clksrc-clks' divider size is 4 bits, but this may not be the case anymore. Use the reg_div.size parameter to calculate the maximum value it can take and check against that. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions