diff options
| author | Rob Herring <[email protected]> | 2019-08-23 02:12:09 +0000 |
|---|---|---|
| committer | Rob Herring <[email protected]> | 2019-08-28 15:02:39 +0000 |
| commit | aebe8c22a9121e89cdd5c725f2ebed1ee237ff16 (patch) | |
| tree | b644450e9344285edc2df4c7969fb6b20d8f3d4f /drivers/gpu/drm/lima/lima_gem.c | |
| parent | drm/panfrost: Add missing check for pfdev->regulator (diff) | |
| download | kernel-aebe8c22a9121e89cdd5c725f2ebed1ee237ff16.tar.gz kernel-aebe8c22a9121e89cdd5c725f2ebed1ee237ff16.zip | |
drm/panfrost: Fix possible suspend in panfrost_remove
Calls to panfrost_device_fini() access the h/w, but we already done a
pm_runtime_put_sync_autosuspend() beforehand. This only works if the
autosuspend delay is long enough. A 0ms delay will hang the system when
removing the device. Fix this by moving the pm_runtime_put_sync_suspend()
after the panfrost_device_fini() call.
Cc: Tomeu Vizoso <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Reviewed-by: Steven Price <[email protected]>
Acked-by: Alyssa Rosenzweig <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_gem.c')
0 files changed, 0 insertions, 0 deletions
