[PATCH 3/5] mtd: Stop assuming mtd_erase() is asynchronous
Richard Weinberger
richard at nod.at
Tue Feb 13 08:58:56 AEDT 2018
Am Montag, 12. Februar 2018, 22:03:09 CET schrieb Boris Brezillon:
> None of the mtd->_erase() implementations work in an asynchronous manner,
> so let's simplify MTD users that call mtd_erase(). All they need to do
> is check the value returned by mtd_erase() and assume that != 0 means
> failure.
>
> Signed-off-by: Boris Brezillon <boris.brezillon at bootlin.com>
Reviewed-by: Richard Weinberger <richard at nod.at>
Thanks,
//richard
More information about the Linuxppc-dev
mailing list