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

Skip to content
Commit 9edb4700 authored by Boris Brezillon's avatar Boris Brezillon
Browse files

mtd: nand: sunxi: fix call order in sunxi_nand_chip_init()



sunxi_nand_chip_set_timings() is extracting a pointer to the nfc from the
nand->controller field, but this field is initialized after
sunxi_nand_chip_set_timings() call.
Reorder the calls to avoid any problem.

Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
parent 44ccb64f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment