Re: [PATCH -next v3] mtd: spinand: fix missing unlock on error

From: Miquel Raynal
Date: Thu Jul 05 2018 - 02:59:59 EST


Hi Wei,

Wei Yongjun <weiyongjun1@xxxxxxxxxx> wrote on Wed, 4 Jul 2018 09:30:27
+0000:

> Add the missing unlock before return from function
> spinand_mtd_(read|write) in the error handling case.
>
> Fixes: c898e0526fb6 ("mtd: nand: Add core infrastructure to support SPI NANDs")
> Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx>
> ---

Thanks for the two fixes over the spinand work. As this code is not
yet upstream, do you mind if I fold those fixes directly with the
initial patch?

Thanks,
MiquÃl