NAND: sunxi: Return ENOTSUPP on onfi functions
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mtd: nand: nand_base: Convert EINVAL into ENOTSUPPdrivers/ | +2 | 2 replies | |
| 2/2 | mtd: nand: sunxi: Return on set_feature only when not ENOTSUPPdrivers/ | +1 | 1 reply |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Jagan Teki |
|---|---|
| 1/2 | Acked--by |
| 2/2 | Acked--by |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH 0/2] NAND: sunxi: Return ENOTSUPP on onfi functions
Hello everyone,
This is a first version of this series that fix code for NAND chip that does not have ONFI get/set features support.
Patch 01:
The current code returns an invalid error if it is not supported. It should return ENOTSUPP instead.
Patch 02:
In sunxi_nand driver, we should return of sunxi_nand_chip_init_timings function only when the ONFI is supported and we got a real error while setting the timing. If the onfi_get/set_features is not supported, we should continue the NAND intialization.
Let me kow what you think.
Thank you in advance,
Best regards,
Mylène Josserand (2):
mtd: nand: nand_base: Convert EINVAL into ENOTSUPP
mtd: nand: sunxi: Return on set_feature only when not ENOTSUPP
drivers/mtd/nand/nand_base.c | 4 ++-- drivers/mtd/nand/sunxi_nand.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.11.0