drm/bridge: anx7625: add missing destroy_workqueue() in anx7625_i2c_probe()
authorYang Yingliang <yangyingliang@huawei.com>
Sat, 26 Mar 2022 07:33:26 +0000 (15:33 +0800)
committerRobert Foss <robert.foss@linaro.org>
Thu, 31 Mar 2022 12:04:25 +0000 (14:04 +0200)
commit6f5efd118efafa22139e8670a4e4b506ba757dfd
tree58fb3ccf5900a98db52b8c59a69a652edeeea4a9
parent3aefc722ff52076407203b6af9713de567993adf
drm/bridge: anx7625: add missing destroy_workqueue() in anx7625_i2c_probe()

Add the missing destroy_workqueue() before return from
anx7625_i2c_probe() in the error handling case.

Fixes: adca62ec370c ("drm/bridge: anx7625: Support reading edid through aux channel")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.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/20220326073326.3389347-1-yangyingliang@huawei.com
drivers/gpu/drm/bridge/analogix/anx7625.c