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

From: weiyongjun (A)
Date: Thu Jul 05 2018 - 04:48:23 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?

No, I don't. Feel free to fold them to the initial patch.

Regards,
Wei yongjun