提交 c4ec1354 编写于 作者: X Xiaolei Li 提交者: Boris Brezillon

mtd: nand: mtk: remove unneeded mtk_ecc_hw_init from mtk_ecc_resume

There is no need to add mtk_ecc_hw_init during ecc resume, because there
always takes mtk_ecc_wait_idle in the function mtk_ecc_enable.
Signed-off-by: NXiaolei Li <xiaolei.li@mediatek.com>
Signed-off-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
上级 777a8d92
...@@ -507,8 +507,6 @@ static int mtk_ecc_resume(struct device *dev) ...@@ -507,8 +507,6 @@ static int mtk_ecc_resume(struct device *dev)
return ret; return ret;
} }
mtk_ecc_hw_init(ecc);
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册