]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
gpu: nvgpu: Enable clocks only if defined
authorTerje Bergstrom <tbergstrom@nvidia.com>
Fri, 24 Oct 2014 11:49:06 +0000 (14:49 +0300)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Sat, 25 Oct 2014 05:51:54 +0000 (08:51 +0300)
commit40494d7109094d468adfb05d75e0fc1ec3ba5e35
treeb6e9ecb4f6882d73a2c78e2fd68c10d3c653aa73
parentd96a8bd9c00bd56cef6f849a9573be6612584867
gpu: nvgpu: Enable clocks only if defined

Enable clocks only if they are defined. This prevents panic in cases
where clock does not need to be enabled explicitly.

Bug 1567274

Change-Id: I7113c6d874b61acc2646effda9c02d3d1817c531
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
drivers/gpu/nvgpu/gk20a/gk20a.c
drivers/gpu/nvgpu/gk20a/platform_gk20a_generic.c