]> git.baikalelectronics.ru Git - kernel.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)
commit13c10ab81907214b8f8e40fe4d14a7bdd609385e
treec0dace31e0698ce917b89408e07130e8d72ece53
parent3e8ec3c1aea93d194d6cac1d6ec7efabefafe07d
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