diff options
| author | Stephen Warren <[email protected]> | 2016-01-06 10:33:03 -0700 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2016-01-20 19:06:23 -0700 |
| commit | 0a7edce0ef26d9a8c11e9c097e0ed12cf334e27d (patch) | |
| tree | 12aa4e174c947f098a7c508b5137d2cfb1904018 /scripts/cleanpatch | |
| parent | cf2045283284a3226889b66541c456eb7ca869e9 (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
