Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 777a8d92 authored by Xiaolei Li's avatar Xiaolei Li Committed by Boris Brezillon
Browse files

mtd: nand: mtk: remove unneeded mtk_nfc_hw_init from mtk_nfc_resume



chip->select_chip will do nfc runtime configuration. There is no need to
do mtk_nfc_hw_init before it.

Signed-off-by: default avatarXiaolei Li <xiaolei.li@mediatek.com>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
parent 88404312
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1490,8 +1490,6 @@ static int mtk_nfc_resume(struct device *dev)
	if (ret)
		return ret;

	mtk_nfc_hw_init(nfc);

	/* reset NAND chip if VCC was powered off */
	list_for_each_entry(chip, &nfc->chips, node) {
		nand = &chip->nand;