diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-02-15 18:58:49 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2021-03-11 09:37:29 +0100 |
commit | e7a97528e3c787802d8c643d6ab2f428511bb047 (patch) | |
tree | ecb6e99bc01ec068f960a6e977d80876995880a6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 469b992489852b500d39048aa0013639dfe9f2e6 (diff) |
mtd: rawnand: fsmc: Fix error code in fsmc_nand_probe()
If dma_request_channel() fails then the probe fails and it should
return a negative error code, but currently it returns success.
fixes: 4774fb0a48aa ("mtd: nand/fsmc: Add DMA support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/YCqaOZ83OvPOzLwh@mwanda
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions