Re: [PATCH -next] mtd: spinand: Fix missing unlock on error path

2018-07-04 Thread Boris Brezillon
On Wed, 4 Jul 2018 08:29:39 + Wei Yongjun wrote: > 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 > --- >

Re: [PATCH -next] mtd: spinand: Fix missing unlock on error path

2018-07-04 Thread Boris Brezillon
On Wed, 4 Jul 2018 08:29:39 + Wei Yongjun wrote: > 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 > --- >

[PATCH -next] mtd: spinand: Fix missing unlock on error path

2018-07-04 Thread Wei Yongjun
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 --- drivers/mtd/nand/spi/core.c | 12 1 file changed, 8 insertions(+),

[PATCH -next] mtd: spinand: Fix missing unlock on error path

2018-07-04 Thread Wei Yongjun
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 --- drivers/mtd/nand/spi/core.c | 12 1 file changed, 8 insertions(+),