mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-17 18:04:42 +02:00
generic-2.6: update patches-2.6.35/080-mtd_plat_nand_chip_fixup.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21735 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a6f330452b
commit
7a2322730e
@ -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…
x
Reference in New Issue
Block a user