]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/rockchip: vop2: Use regcache_sync() to fix suspend/resume
authorSascha Hauer <s.hauer@pengutronix.de>
Mon, 17 Apr 2023 12:37:47 +0000 (14:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Apr 2023 12:28:40 +0000 (14:28 +0200)
commitb1644a0031cfb3ca2cbd84c92f771f8ebb62302d
treeaf5da9345e8acb45d427da9e90f4958aae155146
parent904e1b66854b012f4fe29f4a7cfabf726d98b4d2
drm/rockchip: vop2: Use regcache_sync() to fix suspend/resume

commit b63a553e8f5aa6574eeb535a551817a93c426d8c upstream.

afa965a45e01 ("drm/rockchip: vop2: fix suspend/resume") uses
regmap_reinit_cache() to fix the suspend/resume issue with the VOP2
driver. During discussion it came up that we should rather use
regcache_sync() instead. As the original patch is already applied
fix this up in this follow-up patch.

Fixes: afa965a45e01 ("drm/rockchip: vop2: fix suspend/resume")
Cc: stable@vger.kernel.org
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230417123747.2179695-1-s.hauer@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c