]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/nouveau/debugfs: Fix check of pm_runtime_get_sync failure
authorYueHaibing <yuehaibing@huawei.com>
Thu, 28 Feb 2019 12:24:59 +0000 (20:24 +0800)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 21 Mar 2019 23:57:58 +0000 (09:57 +1000)
pm_runtime_get_sync returns negative on failure.

Fixes: eaeb9010bb4b ("drm/nouveau/debugfs: Wake up GPU before doing any reclocking")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

No differences found