media: ov7670: remove ov7670_power_off from ov7670_remove
stable inclusion from stable-v5.10.121 commit 5c2456629433c0d05c3e3bd7b9ac5447a3f6222e category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I5L6CQ Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=5c2456629433c0d05c3e3bd7b9ac5447a3f6222e -------------------------------- [ Upstream commit 5bf19572 ] In ov7670_probe, it always invokes ov7670_power_off() no matter the execution is successful or failed. So we cannot invoke it agiain in ov7670_remove(). Fix this by removing ov7670_power_off from ov7670_remove. Fixes: 030f9f68 ("media: ov7670: control clock along with power") Signed-off-by: NDongliang Mu <mudongliangabcd@gmail.com> Signed-off-by: NSakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: NMauro Carvalho Chehab <mchehab@kernel.org> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com> Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
Showing
想要评论请 注册 或 登录