drm/exynos: dsi: fix pm_runtime_get() result check in dsi power on path
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 27 Jul 2016 05:56:13 +0000 (07:56 +0200)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:52:04 +0000 (13:52 +0900)
commitfd5681017dbc109fba2e17e23d3cfbe0374ee4cc
tree7f823071913a5151411dd76ec9191722c5f421f4
parent5a96ea7fbfd22272cb9b54b8181bda02f0da1b86
drm/exynos: dsi: fix pm_runtime_get() result check in dsi power on path

pm_runtime_get_sync() might return -EACCES if it is called during system
global suspend/resume procedure. In such case the correctly increases
device usage count. Its return value should be ignored in such case.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Ic4167e2618a037716846f42f91951808dfb42b80
drivers/gpu/drm/exynos/exynos_drm_dsi.c