drm/stm: drv: fix suspend/resume
authorYannick Fertré <yannick.fertre@st.com>
Mon, 17 Jun 2019 07:18:17 +0000 (09:18 +0200)
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>
Thu, 20 Jun 2019 15:03:24 +0000 (17:03 +0200)
commit2b5d74fa3ceeaf178c74cb3f673ae452c46a7d35
treeb4541f1b5233dae5167d8a753943d89b2ce0b37a
parent002c845be525939ee22899452fbe2b597d27b424
drm/stm: drv: fix suspend/resume

Without this fix, the system can not go in "suspend" mode
due to an error in drv_suspend function.

Fixes: 35ab6cfbf211 ("drm/stm: support runtime power management")
Signed-off-by: Yannick Fertré <yannick.fertre@st.com>
Acked-by: Philippe Cornu <philippe.cornu@st.com>
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1560755897-5002-1-git-send-email-yannick.fertre@st.com
drivers/gpu/drm/stm/drv.c