projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
744f756
)
drm: bridge: dw-hdmi: unregister the hpd workqueue when unbind
author
algea.cao
<algea.cao@rock-chips.com>
Wed, 19 Apr 2017 11:32:09 +0000
(19:32 +0800)
committer
Huang, Tao
<huangtao@rock-chips.com>
Thu, 20 Apr 2017 08:21:38 +0000
(16:21 +0800)
Change-Id: Ib692a4e42843a6a9c89c5a92f79a7dd85a4ae534
Signed-off-by: algea.cao <algea.cao@rock-chips.com>
drivers/gpu/drm/bridge/dw-hdmi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/bridge/dw-hdmi.c
b/drivers/gpu/drm/bridge/dw-hdmi.c
index a25117765af4b6e431c9fc737815e6d36707679b..afbb6c83ac461789caf2f28089d7f1c83fa46e57 100644
(file)
--- a/
drivers/gpu/drm/bridge/dw-hdmi.c
+++ b/
drivers/gpu/drm/bridge/dw-hdmi.c
@@
-2664,6
+2664,9
@@
void dw_hdmi_unbind(struct device *dev, struct device *master, void *data)
i2c_del_adapter(&hdmi->i2c->adap);
else
i2c_put_adapter(hdmi->ddc);
+
+ flush_workqueue(hdmi->workqueue);
+ destroy_workqueue(hdmi->workqueue);
}
EXPORT_SYMBOL_GPL(dw_hdmi_unbind);