]> 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)
commitcdf6428780b87b1bd7210713bd3438108ab380cd
tree11b536e58ea6ef943a66f1abd3a467ab705d0c09
parente2e0a2e704e48fdf3c500e070dac7547e722b3a7
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: d323b9ca0571 ("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