]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/gpu: check legacy clk names in get_clocks()
authorRob Clark <robdclark@gmail.com>
Wed, 3 May 2017 14:43:14 +0000 (10:43 -0400)
committerRob Clark <robdclark@gmail.com>
Sat, 27 May 2017 17:48:25 +0000 (13:48 -0400)
commit681a5aeb5ec94f22c195b50a5d56ceea920c0967
treed9ec52e4c8592ba7e60d742abef1732e98f9813a
parent98da78089acefe20743987b716880c3d99f2ca83
drm/msm/gpu: check legacy clk names in get_clocks()

Otherwise if someone was using old bindings with "core_clk" instead of
"core" as the clock name, we'd never find it and gpu would be stuck at
27MHz (or whatever it's slowest rate is).

Fixes: 7339e07 ("msm/drm: gpu: Dynamically locate the clocks from the device tree")
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_gpu.c