diff options
author | 2018-01-22 11:10:45 -0700 | |
---|---|---|
committer | 2018-02-20 10:41:22 -0500 | |
commit | 9d20a0e6a8f4edf37d75f3bca41f99f52a440c22 (patch) | |
tree | f6973d9e446df02bdc5df5fe1e70e328f1fc196b /lib/test_overflow.c | |
parent | drm/msm: Replace gem_object deprecated functions (diff) | |
download | linux-dev-9d20a0e6a8f4edf37d75f3bca41f99f52a440c22.tar.xz linux-dev-9d20a0e6a8f4edf37d75f3bca41f99f52a440c22.zip |
drm/msm/gpu: Set number of clocks to 0 if the list allocation fails
If we fail to allocate gpu->grp_clks reset the number of available
clocks to zero to avoid referencing the missing array later.
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions