drivers: rk_nand: fix SPOR data lost issue

Suddenly power loss test for F2FS file system,data will be
lost and the file system count not mount.
bug:
[    6.372692] F2FS-fs (rknand_userdata): Found nat_bits in checkpoint
[    6.563942] F2FS-fs (rknand_userdata): Failed to read root inode
[    6.607687] F2FS-fs (rknand_userdata): Found nat_bits in checkpoint
[    6.799042] F2FS-fs (rknand_userdata): Failed to read root inode

Change-Id: Ie3256631eba4388cef9edec31aea12bfd45bf4d4
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
This commit is contained in:
Yifeng Zhao
2018-04-23 14:17:40 +08:00
parent 57da81b29f
commit 1780f2afbd

File diff suppressed because it is too large Load Diff