diff options
| author | 2013-12-02 19:00:45 +0200 | |
|---|---|---|
| committer | 2013-12-03 18:02:01 +0100 | |
| commit | ed5ca77ed7505cd389003a6d35ca1b7365429d71 (patch) | |
| tree | 2783065802046fd7809706e3a170155749613edf /lib/debugobjects.c | |
| parent | drm/i915: Remove if 0'ed static arrays (diff) | |
drm/i915: Avoid div-by-zero in clock calculation funcs
Check that the N and P dividers don't cause a divide by zero.
This shouldn't happen under normal circumstances, but can
happen eg. under simulation.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
