summaryrefslogtreecommitdiff
path: root/scripts/cleanpatch
diff options
context:
space:
mode:
authorStephen Warren <[email protected]>2016-01-06 10:33:03 -0700
committerSimon Glass <[email protected]>2016-01-20 19:06:23 -0700
commit0a7edce0ef26d9a8c11e9c097e0ed12cf334e27d (patch)
tree12aa4e174c947f098a7c508b5137d2cfb1904018 /scripts/cleanpatch
parentcf2045283284a3226889b66541c456eb7ca869e9 (diff)
dm: timer: refuse timers with zero clock_rate
If a timer has a zero clock_rate, get_tbclk() will return zero for it, which will cause tick_to_time() to perform a division-by-zero, which will crash U-Boot. Signed-off-by: Stephen Warren <[email protected]> Acked-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions