diff options
author | Tony O'Brien <[email protected]> | 2022-09-27 15:47:28 +1300 |
---|---|---|
committer | Miquel Raynal <[email protected]> | 2022-10-18 10:31:00 +0200 |
commit | ce107713b722af57c4b7f2477594d445b496420e (patch) | |
tree | a6eab5d680489a5be8a4f9a091753da95d3ee29c /lib/mpi/mpi-sub-ui.c | |
parent | 3ada71310d2c68eebb57772df6bb1f5f033ae802 (diff) |
mtd: rawnand: marvell: Use correct logic for nand-keep-config
Originally the absence of the marvell,nand-keep-config property caused
the setup_data_interface function to be provided. However when
setup_data_interface was moved into nand_controller_ops the logic was
unintentionally inverted. Update the logic so that only if the
marvell,nand-keep-config property is present the bootloader NAND config
kept.
Cc: [email protected]
Fixes: 7a08dbaedd36 ("mtd: rawnand: Move ->setup_data_interface() to nand_controller_ops")
Signed-off-by: Tony O'Brien <[email protected]>
Signed-off-by: Chris Packham <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions