drm/etnaviv: make clock handling symetric between runtime resume and suspend
authorLucas Stach <l.stach@pengutronix.de>
Wed, 7 Jun 2023 13:02:19 +0000 (15:02 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Mon, 17 Jul 2023 09:32:17 +0000 (11:32 +0200)
commit7cb544946a138d8a1a5f4981f23895dc98c91c8a
treecc756c5d2ee977c687428cc8a89f21850180c9b5
parentf098f9b8042af09087f37353150c5ad6f26620d5
drm/etnaviv: make clock handling symetric between runtime resume and suspend

Currently the clock is enabled in the runtime resume function, but are
disabled a level further down in the callstack in the suspend function.
Move the clock disable into the suspend function to make handling
symmetrical between resume and suspend.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
drivers/gpu/drm/etnaviv/etnaviv_gpu.c