Messages in this thread | | | Date | Sun, 8 Jul 2018 23:50:14 +0200 | From | Miquel Raynal <> | Subject | Re: [PATCH -next v3] mtd: spinand: fix missing unlock on error |
| |
Hi Wei,
Wei Yongjun <weiyongjun1@huawei.com> 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@huawei.com> > --- > v2 -> v3: remove blank line > v1 -> v2: using break instead of return > ---
Merged with the original commit too.
Thanks, Miquèl
| |