diff options
author | Evgeny Novikov | 2021-08-17 12:29:30 +0300 |
---|---|---|
committer | Miquel Raynal | 2021-08-17 18:43:55 +0200 |
commit | 0792ec82175ec45a0f45af6e0f2d3cb49c527cd4 (patch) | |
tree | febc71759f826095826dcdff8242fc37f629dd4b /crypto/khazad.c | |
parent | 6f802696c2faf0119781fc3b7977a4eedf9ab239 (diff) |
mtd: rawnand: intel: Fix error handling in probe
ebu_nand_probe() did not invoke ebu_dma_cleanup() and
clk_disable_unprepare() on some error handling paths. The patch fixes
that.
Found by Linux Driver Verification project (linuxtesting.org).
Fixes: 0b1039f016e8 ("mtd: rawnand: Add NAND controller support on Intel LGM SoC")
Signed-off-by: Evgeny Novikov <novikov@ispras.ru>
Co-developed-by: Kirill Shilimanov <kirill.shilimanov@huawei.com>
Signed-off-by: Kirill Shilimanov <kirill.shilimanov@huawei.com>
Co-developed-by: Anton Vasilyev <vasilyev@ispras.ru>
Signed-off-by: Anton Vasilyev <vasilyev@ispras.ru>
Cc: stable@vger.kernel.org
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210817092930.23040-1-novikov@ispras.ru
Diffstat (limited to 'crypto/khazad.c')
0 files changed, 0 insertions, 0 deletions