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)
commitd311e0c27b8fcc27f707f8cac48cd8bdc4155224
treef7f11d24892daf1d47e34af8a71bfec62aa47c3a
parent01eeb927bbcc1952114b0aec1447699c4747c337
mtd: rawnand: denali: get ->setup_data_interface() working again

Commit 7a08dbaedd36 ("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: 7a08dbaedd36 ("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