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)
commit134ccada7ac59156761ce05afd1c0b1d02ebd928
treed9ec52e4c8592ba7e60d742abef1732e98f9813a
parent786813c343cb619d23cb0990e152e350b826d810
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: 98db803 ("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