Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 181117a1 authored by YueHaibing's avatar YueHaibing Committed by Greg Kroah-Hartman
Browse files

drm/nouveau/debugfs: Fix check of pm_runtime_get_sync failure



[ Upstream commit 909e9c9c428376e2a43d178ed4b0a2d5ba9cb7d3 ]

pm_runtime_get_sync returns negative on failure.

Fixes: eaeb9010 ("drm/nouveau/debugfs: Wake up GPU before doing any reclocking")
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 276084f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment