]> 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)
commit59a535a52eba479210c15c4dd3cd71e642f29fc9
treed9ec52e4c8592ba7e60d742abef1732e98f9813a
parent3e7e49262fcf5e66414e401426544ff529294a8d
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: 881574f ("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