]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Sep 2018 07:46:59 +0000 (09:46 +0200)
commit5e1f742d4bbba95ae577ca805b8279e894bb149c
tree007ac98de21fb7db7d52ece53b35e95b587a043b
parent2781b277d5892fb3b2aad4dd741c07dab387c58d
drm/rockchip: vop: split out core clock enablement into separate functions

commit e2810a7167df14c762e085fae5aade38425b71bf upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/rockchip/rockchip_drm_vop.c