]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Merge tag 'nand/for-4.10' of github.com:linux-nand/linux
authorBrian Norris <computersforpeace@gmail.com>
Wed, 30 Nov 2016 02:28:30 +0000 (18:28 -0800)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 30 Nov 2016 02:28:30 +0000 (18:28 -0800)
From Boris Brezillon:

"""
This pull request contains the following notable changes:
- new tango NAND controller driver
- new ox820 NAND controller driver
- addition of a new full-ID entry in the nand_ids table
- rework of the s3c240 driver to support DT
- extension of the nand_sdr_timings to expose tCCS, tPROG and tR
- addition of a new flag to ask the core to wait for tCCS when sending
  a RNDIN/RNDOUT command
- addition of a new flag to ask the core to let the controller driver
  send the READ/PROGPAGE command

This pull request also contains minor fixes/cleanup/cosmetic changes:
- properly support 512 ECC step size in the sunxi driver
- improve the error messages in the pxa probe path
- fix module autoload in the omap2 driver
- cleanup of several nand drivers to return nand_scan{_tail}() error
  code instead of returning -EIO
- various cleanups in the denali driver
- cleanups in the ooblayout handling (MTD core)
- fix an error check in nandsim
"""

1  2 
drivers/mtd/nand/nand_base.c
include/linux/mtd/nand.h

index 3bde96a3f7bfd5b8f066fc56af91fb1983279cdf,96d242e2fe3479087e5d6ceb4bc224a2bae0fba4..ec1c28aaaf23c4bb509a9710121224e46e358dde
@@@ -4336,10 -4349,9 +4359,10 @@@ int nand_scan_ident(struct mtd_info *mt
                if (!(chip->options & NAND_SCAN_SILENT_NODEV))
                        pr_warn("No NAND device found\n");
                chip->select_chip(mtd, -1);
-               return PTR_ERR(type);
+               return ret;
        }
  
 +      /* Initialize the ->data_interface field. */
        ret = nand_init_data_interface(chip);
        if (ret)
                return ret;
Simple merge