linux/drivers/mtd/nand/onenand
Pengpeng Hou d03a19bd6c mtd: onenand: samsung: report DMA completion timeouts
The S5PC110 OneNAND DMA helpers have bounded waits for transfer
completion. The polling helper falls out of its timeout loop and returns
success, and the IRQ helper ignores wait_for_completion_timeout().

Return -ETIMEDOUT when the DMA transfer-done bit or completion does not
arrive before the timeout so callers can treat the buffer transfer as
failed.

Fixes: e23abf4b77 ("mtd: OneNAND: S5PC110: Implement DMA interrupt method")
Cc: stable@vger.kernel.org
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
2026-07-03 15:46:10 +02:00
..
generic.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
Kconfig mtd: onenand: omap2: Drop obsolete dependency on COMPILE_TEST 2023-04-11 15:42:23 +02:00
Makefile mtd: onenand: Rename omap2 driver to avoid a build warning 2020-01-21 20:00:35 +01:00
onenand_base.c Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
onenand_bbt.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
onenand_omap2.c mtd: onenand: omap2: drop unused module alias 2025-09-29 18:02:30 +02:00
onenand_samsung.c mtd: onenand: samsung: report DMA completion timeouts 2026-07-03 15:46:10 +02:00
samsung.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00