433135c85c
Some mtd device does not support lock and unlock functions. Adding this check avoids crashing when mtd_part_lock/unlock are called for such devices. Signed-off-by: Zahari Doychev <zahari.doychev@linux.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |
||
---|---|---|
.. | ||
devices | ||
nand | ||
nor | ||
ubi | ||
Kconfig | ||
Makefile | ||
core.c | ||
mtd.h | ||
mtdoob.c | ||
mtdraw.c | ||
partition.c |