diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2014-02-12 14:00:59 +0900 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-03-26 13:59:32 +1000 |
commit | b6c4285afa66f2f258a237771fd90905a194957d (patch) | |
tree | 73d59a5ca30c76ce4e47c24bace5f3256f3a3f3e /drivers/gpu/drm/nouveau/dispnv04/disp.h | |
parent | ef98c1f7b37116ae45d892a23f46cffdda31773c (diff) | |
download | blackbird-op-linux-b6c4285afa66f2f258a237771fd90905a194957d.tar.gz blackbird-op-linux-b6c4285afa66f2f258a237771fd90905a194957d.zip |
drm/nouveau: handle -EACCES runtime PM return code
pm_runtime_get*() may return -EACCES to indicate a device does not have
runtime PM enabled. This is currently the case with platform devices
on Nouveau, and is not an error in that context. Handle this case
without failure.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/dispnv04/disp.h')
0 files changed, 0 insertions, 0 deletions