commit | f883199d17b87e86a4ebd50bdee69285814bdce7 | [log] [tgz] |
---|---|---|
author | Xiaolei Li <xiaolei.li@mediatek.com> | Thu Nov 02 10:05:07 2017 +0800 |
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | Thu Nov 30 10:57:27 2017 +0100 |
tree | 6815b01122e909119379dc9234957c88524ce320 | |
parent | 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 [diff] |
mtd: nand: mtk: use nand_reset() to reset NAND devices in resume function Previously, we only select chips and then send reset command to a NAND device during resuming nand driver. There is a lack of deselecting chips. It is advised to reset and initialize a NAND device using nand_reset(). Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>