]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/v3d: fix a missing check of pm_runtime_get_sync
authorKangjie Lu <kjlu@umn.edu>
Sun, 24 Mar 2019 23:16:02 +0000 (18:16 -0500)
committerEric Anholt <eric@anholt.net>
Mon, 1 Apr 2019 17:45:59 +0000 (10:45 -0700)
commit3c77ff8f8bae4d328de662b26921bc4da1d293f1
treec0dace31e0698ce917b89408e07130e8d72ece53
parentf8b347064b89aaac2c82bbf77de60deaaf87b116
drm/v3d: fix a missing check of pm_runtime_get_sync

pm_runtime_get_sync could fail and thus deserves a check.

The patch adds such a check and return its error code upstream
if it indeed failed.

Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20190324231602.2436-1-kjlu@umn.edu
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
drivers/gpu/drm/v3d/v3d_drv.c