drm: bridge: dw-hdmi: fixup kernel crash when reboot with hdmi connected
authoralgea.cao <algea.cao@rock-chips.com>
Tue, 2 May 2017 01:03:19 +0000 (09:03 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 2 Jun 2017 06:12:24 +0000 (14:12 +0800)
commitd3a6dbe68206903e77867487f7f349cd7dea1306
tree01f1b9542afc03d43f76898ac10caf743b52194d
parent9b050a98b7eb120fe4c81aacaccf761a6818ba5c
drm: bridge: dw-hdmi: fixup kernel crash when reboot with hdmi connected

when other devices bind failed,drm will unbind and re-bind all devices.
if don't cancel the delayed work but flush and destroy workqueue directly,
kernel point is likely to become NULL.

Change-Id: Ib48704186ee298cbd4daac1cdbbac5fb3906b6bb
Signed-off-by: algea.cao <algea.cao@rock-chips.com>
drivers/gpu/drm/bridge/dw-hdmi.c