diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-12-20 18:14:16 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-01-04 04:44:24 -0500 |
commit | 2a95a288b285b0eff16a8825298c416d185693fb (patch) | |
tree | 8040b60aa5761b638f08cc1032feb0f729ed57ae /drivers/gpu/nvgpu/vgpu/vgpu.c | |
parent | fef7083e516ff6da4681ea8aaeedc114c6f2c821 (diff) |
gpu: nvgpu: Check reference clock before use
We use GPU reference clock as a divider. Check before division that
reference clock is not zero.
Change-Id: Ie453a78b422b2e740daeb7c12ce5b06faa52ba76
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1275743
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Fleury <tfleury@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/vgpu.c')
0 files changed, 0 insertions, 0 deletions