mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:46:16 +00:00
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. -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEE9HuaYnbmDhq/XIDIJWrqGEe9VoQFAmZFyQMACgkQJWrqGEe9 VoQZEwf+Kxxz73leM+aY3qqKoDk5mqKg7N/rzdTGfBUmTpCm0LclmupmX26dwnmq kDQic3PzCpZOms3epQXcnLZ7jvLCpPyLcjg5crhXN1inF/M8XEjvbbKFR2VfShcB EiYJIJgcRmqxv1wnZKn1iyphKJmlR6OuxB6OpFV2lXgw6SF1Cl8JJtPMvyDQkHrU 4BFJNPpvX8Cyu9hNH7zt1iUqaUwq2YKw9xYCPsXGW4T+UsVWhNRnQHf4+LQire2D hUW3q5Qa+JjbM4GDsFEJ10TPHBeCFV5co388CIBPDdfLIHrleyTiEFbEtUhdtYlo wxKjqSufF/uR41DnDFI9LZaFNHN3uw== =ifdO -----END PGP SIGNATURE----- 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: Miquel Raynal <miquel.raynal@bootlin.com>
This commit is contained in:
commit
552c9380f9
@ -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;
|
||||
}
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user