Dexuan Cui 382a462217 video: hyperv_fb: Fix hibernation for the deferred IO feature
fb_deferred_io_work() can access the vmbus ringbuffer by calling
fbdefio->deferred_io() -> synthvid_deferred_io() -> synthvid_update().

Because the vmbus ringbuffer is inaccessible between hvfb_suspend()
and hvfb_resume(), we must cancel info->deferred_work before calling
vmbus_close() and then reschedule it after we reopen the channel
in hvfb_resume().

Fixes: a4ddb11d297e ("video: hyperv: hyperv_fb: Support deferred IO for Hyper-V frame buffer driver")
Fixes: 824946a8b6fb ("video: hyperv_fb: Add the support of hibernation")
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Reviewed-by: Wei Hu <weh@microsoft.com>
Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-25 16:52:11 -05:00
..
2019-12-03 13:58:22 -08:00
2019-12-03 13:58:22 -08:00
2019-07-09 09:55:45 -07:00
2019-08-19 15:52:28 +02:00
2019-06-03 16:00:08 +02:00
2019-06-03 16:00:08 +02:00
2019-07-09 09:55:45 -07:00
2019-09-22 09:30:30 -07:00
2018-12-20 19:13:09 +01:00
2019-07-09 09:55:45 -07:00
2019-08-19 15:52:29 +02:00