commit | 9edb47004e2afb5884d0c900cbd1ece8b2d6f403 | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@free-electrons.com> | Wed Dec 02 16:00:57 2015 +0100 |
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | Tue Apr 19 22:05:36 2016 +0200 |
tree | 7261bc3a9e51450ef19cbb9287c49240066dff5c | |
parent | 44ccb64fa56ad6d6d2d33a8625d9464f54c63eba [diff] |
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: Boris Brezillon <boris.brezillon@free-electrons.com>