]> git.ipfire.org Git - thirdparty/linux.git/commit
fbdev: viafb: return an error when DMA copy times out
authorPengpeng Hou <pengpeng@iscas.ac.cn>
Wed, 24 Jun 2026 14:43:13 +0000 (22:43 +0800)
committerHelge Deller <deller@gmx.de>
Thu, 25 Jun 2026 16:36:53 +0000 (18:36 +0200)
commit4da933bf4e7317310f32d6918c774174253483c1
tree4f374e2556d07ed87d5409b66128b5e772d6cea0
parenta11aa7b85021f5456fad8ec81467bcbdd2ac6945
fbdev: viafb: return an error when DMA copy times out

viafb_dma_copy_out_sg() logs a VIA DMA timeout when the DONE bit is not
set after the completion wait and grace delay, but still returns success
to the caller.

Preserve the existing cleanup sequence and return -ETIMEDOUT when the DMA
engine did not report completion.

Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/via/via-core.c