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)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 17 Apr 2023 21:40:40 +0000 (23:40 +0200)
commitb63a553e8f5aa6574eeb535a551817a93c426d8c
tree4399b2f474488297daa57a9ea88500d14a78d334
parent7363d6bedc000f6f9d09cfe498da2f3aca653778
drm/rockchip: vop2: Use regcache_sync() to fix suspend/resume

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
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c