summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorXin Ji <xji@analogix.corp-partner.google.com>2022-02-17 10:44:17 +0800
committerRobert Foss <robert.foss@linaro.org>2022-03-01 14:00:55 +0100
commitbeac7709e40ba85e0827ffe0c6f3d6840588db31 (patch)
tree7df467e49bdb844f0c0c3a488f4f160c9e8dfaea /drivers
parente22dfdb63df36427067fad6b9bfdc8c08371ab38 (diff)
downloadlinux-beac7709e40ba85e0827ffe0c6f3d6840588db31.tar.bz2
drm/bridge: anx7625: Fix release wrong workqueue
If "hdcp_workqueue" exist, must release "hdcp_workqueue", not "workqueue". Fixes: cd1637c7e480 ("drm/bridge: anx7625: add HDCP support") Signed-off-by: Xin Ji <xji@analogixsemi.com> Reviewed-by: Hsin-Yi Wang <hsinyi@chromium.org> Signed-off-by: Robert Foss <robert.foss@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20220217024418.3780171-1-xji@analogixsemi.com
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/bridge/analogix/anx7625.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c b/drivers/gpu/drm/bridge/analogix/anx7625.c
index 633618bafd75..9aab879a8851 100644
--- a/drivers/gpu/drm/bridge/analogix/anx7625.c
+++ b/drivers/gpu/drm/bridge/analogix/anx7625.c
@@ -2736,8 +2736,8 @@ static int anx7625_i2c_remove(struct i2c_client *client)
if (platform->hdcp_workqueue) {
cancel_delayed_work(&platform->hdcp_work);
- flush_workqueue(platform->workqueue);
- destroy_workqueue(platform->workqueue);
+ flush_workqueue(platform->hdcp_workqueue);
+ destroy_workqueue(platform->hdcp_workqueue);
}
if (!platform->pdata.low_power_mode)