aboutsummaryrefslogtreecommitdiff
path: root/ipc/util.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2019-08-22 21:12:09 -0500
committerRob Herring <robh@kernel.org>2019-08-23 11:54:06 -0500
commit593bc4d008cf75daa924f73bd39b34dd03c4e8de (patch)
tree0d7ff171c4ca2e9907f376226fbfb946c424a0ee /ipc/util.c
parent97588c89993d1fb6bf4026984c0c099a5122b0b2 (diff)
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 <tomeu.vizoso@collabora.com> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Steven Price <steven.price@arm.com> Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190823021216.5862-2-robh@kernel.org
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions