diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-07-03 15:43:50 +0800 |
|---|---|---|
| committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2026-07-03 15:46:10 +0200 |
| commit | d03a19bd6c7f86b99ca8fb61a6ec2345cee1d9d6 (patch) | |
| tree | 4a98bb2bd32cbb424818a6e47266c665105327ce /Documentation/tty/git@git.tavy.me:linux.git | |
| parent | f9a13e05a327080c3a1c8165adf9e678fb68fef2 (diff) | |
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: e23abf4b7743 ("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>
Diffstat (limited to 'Documentation/tty/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
