mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-31 11:52:46 +00:00
generic-2.6: update patches-2.6.35/080-mtd_plat_nand_chip_fixup.patch
SVN-Revision: 21735
This commit is contained in:
parent
d45dc5e820
commit
3e5f4450b5
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
/* Scan to find existance of the device */
|
/* Scan to find existance of the device */
|
||||||
- if (nand_scan(&data->mtd, 1)) {
|
- if (nand_scan(&data->mtd, 1)) {
|
||||||
+ if (nand_scan_ident(&data->mtd, 1)) {
|
+ if (nand_scan_ident(&data->mtd, 1, NULL)) {
|
||||||
+ res = -ENXIO;
|
+ res = -ENXIO;
|
||||||
+ goto out;
|
+ goto out;
|
||||||
+ }
|
+ }
|
||||||
|
Loading…
Reference in New Issue
Block a user