drm/rockchip: Don't use a delayed worker for psr state changes
authorSean Paul <seanpaul@chromium.org>
Tue, 16 Aug 2016 22:58:29 +0000 (15:58 -0700)
committerSean Paul <seanpaul@chromium.org>
Tue, 23 Aug 2016 15:44:34 +0000 (11:44 -0400)
commit23c0f3dcc05a15eb1010e10ea8f86d1849560e70
tree6d7f2f14dd144db8c7fe419279ca488a9ecbb80e
parent18d8d4d2287b790360ee58d2ace4896e2e10cbb6
drm/rockchip: Don't use a delayed worker for psr state changes

The delayed worker isn't needed and is racey. Remove it and do
the state change in line.

Reviewed-by: Yakir Yang <ykk@rock-chips.com>
Tested-by: Yakir Yang <ykk@rock-chips.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
drivers/gpu/drm/rockchip/rockchip_drm_psr.c