mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
drm: bridge: dw-hdmi: unregister the hpd workqueue when unbind
Change-Id: Ib692a4e42843a6a9c89c5a92f79a7dd85a4ae534 Signed-off-by: algea.cao <algea.cao@rock-chips.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user