Commit 552c9380 authored by Miquel Raynal's avatar Miquel Raynal
Browse files

Merge tag 'nand/for-6.10' into mtd/next



Raw NAND:

Two small fixes, one in the Hynix vendor code for properly returning an
error which might have been ignored and another in the Davinci driver to
properly synchronize the controller with the gpio domain.

Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
parents 964b8998 6819db94
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -671,8 +671,11 @@ static int davinci_nand_exec_instr(struct davinci_nand_info *info,
		break;
	}

	if (instr->delay_ns)
	if (instr->delay_ns) {
		/* Dummy read to be sure that command is sent before ndelay starts */
		davinci_nand_readl(info, 0);
		ndelay(instr->delay_ns);
	}

	return 0;
}
+1 −1
Original line number Diff line number Diff line
@@ -401,7 +401,7 @@ static int hynix_nand_rr_init(struct nand_chip *chip)
	if (ret)
		pr_warn("failed to initialize read-retry infrastructure");

	return 0;
	return ret;
}

static void hynix_nand_extract_oobsize(struct nand_chip *chip,