Commit 032eb1a1 authored by Eric Anholt's avatar Eric Anholt Committed by popcornmix
Browse files

drm/vc4: Fix refcounting of runtime PM get if it errors out.



We were returning without decrementing if the error happened, meaning
that at the next submit we wouldn't try to bring up the power domain.

Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Link: http://patchwork.freedesktop.org/patch/msgid/20170417162603.12726-1-eric@anholt.net


Reviewed-by: default avatarSean Paul <seanpaul@chromium.org>
(cherry picked from commit 925d05e1)
parent 7786b5f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment