]> asedeno.scripts.mit.edu Git - linux.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)
commite2810a7167df14c762e085fae5aade38425b71bf
tree11b536e58ea6ef943a66f1abd3a467ab705d0c09
parentba1f665f161ce112a2703649317bfdc9b6521613
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: d0b912bd4c23 ("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