]> 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)
commit4b0e88744dcc67f6d730d85c9bd7c3758640309c
treef7f11d24892daf1d47e34af8a71bfec62aa47c3a
parent69d506b04f0ec9b2bd33fc7247f3faa9d1677724
mtd: rawnand: denali: get ->setup_data_interface() working again

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