diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-02-28 20:24:59 +0800 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2019-03-22 09:57:58 +1000 |
commit | 909e9c9c428376e2a43d178ed4b0a2d5ba9cb7d3 (patch) | |
tree | dc1a0211ca4acd9aa518f0b061679da24cecb735 /lib/klist.c | |
parent | 18ec3c129bcad0a481ee7faf8ce5ad92d6537722 (diff) | |
download | lwn-909e9c9c428376e2a43d178ed4b0a2d5ba9cb7d3.tar.gz lwn-909e9c9c428376e2a43d178ed4b0a2d5ba9cb7d3.zip |
drm/nouveau/debugfs: Fix check of pm_runtime_get_sync failure
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>
Diffstat (limited to 'lib/klist.c')
0 files changed, 0 insertions, 0 deletions