]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: denali: get ->setup_data_interface() working again
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 18 Jan 2019 05:30:38 +0000 (14:30 +0900)
committerBoris Brezillon <bbrezillon@kernel.org>
Fri, 18 Jan 2019 09:27:01 +0000 (10:27 +0100)
commita1d2b28099360f6d607b6314efcce1bb211eda63
treef7f11d24892daf1d47e34af8a71bfec62aa47c3a
parentdf6f61bf9d661310eaec83bf2b9bdcec17479a74
mtd: rawnand: denali: get ->setup_data_interface() working again

Commit d83b19e03af2 ("mtd: rawnand: Move ->setup_data_interface() to
nand_controller_ops") missed to invert the if-conditonal for denali.
Since then, the Denali NAND driver cannnot invoke setup_data_interface.

Fixes: d83b19e03af2 ("mtd: rawnand: Move ->setup_data_interface() to nand_controller_ops")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Boris Brezillon <bbrezillon@kernel.org>
drivers/mtd/nand/raw/denali.c