]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rockchip: vop: split out core clock enablement into separate functions
authorHeiko Stuebner <heiko@sntech.de>
Tue, 12 Jun 2018 13:20:27 +0000 (15:20 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 18 Jun 2018 12:58:45 +0000 (14:58 +0200)
commit3551a1e016f4e6a5cf8f0a72cc4f2e2b40a6482c
tree11b536e58ea6ef943a66f1abd3a467ab705d0c09
parenta4ce2eef41f6c522bbed378ef575fa5cd8eba12c
drm/rockchip: vop: split out core clock enablement into separate functions

Judging from the iommu code, both the hclk and aclk are necessary for
register access. Split them off into separate functions from the regular
vop enablement, so that we can use them elsewhere as well.

Fixes: 6de808f82274 ("iommu/rockchip: Request irqs in rk_iommu_probe()")
[prerequisite change for the actual fix]
Cc: stable@vger.kernel.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Ezequiel Garcia <ezequiel@collabora.com>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180612132028.27490-2-heiko@sntech.de
drivers/gpu/drm/rockchip/rockchip_drm_vop.c