mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
misc: tegra_cec: add missing cancel_work_sync()
This patch just adds missing cancel_work_sync() in the exit path of the probe(). Bug 1887171 Bug 200289389 Change-Id: I7d42ae6d035f87b5ad1b726cbe5274fbd9755f4e Signed-off-by: Nicolin Chen <nicolinc@nvidia.com> Reviewed-on: http://git-master/r/1463243 Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com>
This commit is contained in:
committed by
Prafull Suryawanshi
parent
5845f087dd
commit
f79ab92d84
@@ -649,6 +649,7 @@ static int tegra_cec_probe(struct platform_device *pdev)
|
|||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
cec_error:
|
cec_error:
|
||||||
|
cancel_work_sync(&cec->work);
|
||||||
clk_disable(cec->clk);
|
clk_disable(cec->clk);
|
||||||
clk_put(cec->clk);
|
clk_put(cec->clk);
|
||||||
#if defined(CONFIG_TEGRA_NVDISPLAY) && defined(CONFIG_TEGRA_POWERGATE)
|
#if defined(CONFIG_TEGRA_NVDISPLAY) && defined(CONFIG_TEGRA_POWERGATE)
|
||||||
|
|||||||
Reference in New Issue
Block a user