android_kernel_motorola_sm6225/drivers/mtd/ubi
Artem Bityutskiy d1f3dd6cc0 UBI: fix mtd device string parsing
UBI allows to specify MTD device name or number when the module is being
loaded. When parsing MTD device identity string, it first tries to treat
it as device NAME, and if that fails, it treats it as device number.

Make it vice-versa as this is more logical and makes less troubles when
you have an MTD device named "1" and try to load mtd1 which has different
name. This is especially easy to hit when gluebi is enabled.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2007-12-26 19:15:17 +02:00
..
build.c UBI: fix mtd device string parsing 2007-12-26 19:15:17 +02:00
cdev.c UBI: handle attach ioctl 2007-12-26 19:15:17 +02:00
debug.c UBI: use byte hexdump 2007-10-14 13:10:21 +03:00
debug.h UBI: add PID to debugging prints 2007-12-26 19:15:16 +02:00
eba.c UBI: add UBI devices reference counting 2007-12-26 19:15:17 +02:00
gluebi.c UBI: improve internal interfaces 2007-12-26 19:15:15 +02:00
io.c UBI: fix error code in ubi_io_read() 2007-12-26 19:15:13 +02:00
kapi.c UBI: use separate mutex for volumes checking 2007-12-26 19:15:17 +02:00
Kconfig UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
Kconfig.debug UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
Makefile UBI: Unsorted Block Images 2007-04-27 14:23:33 +03:00
misc.c UBI: improve internal interfaces 2007-12-26 19:15:15 +02:00
scan.c Merge branch 'master' of git://git.infradead.org/~dedekind/ubi-2.6 2007-10-14 14:29:00 +01:00
scan.h UBI: do not use vmalloc on I/O path 2007-10-14 13:10:21 +03:00
ubi.h UBI: use separate mutex for volumes checking 2007-12-26 19:15:17 +02:00
upd.c UBI: tweak volumes locking 2007-12-26 19:15:15 +02:00
vmt.c UBI: add UBI devices reference counting 2007-12-26 19:15:17 +02:00
vtbl.c UBI: fix comment 2007-12-26 19:15:16 +02:00
wl.c UBI: prepare attach and detach functions 2007-12-26 19:15:17 +02:00