mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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: Xiaolei Li <xiaolei.li@mediatek.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
This commit is contained in:
parent
8840431255
commit
777a8d92df
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue