diff options
| author | Heiko Stuebner <heiko@sntech.de> | 2025-08-18 20:56:58 +0200 | 
|---|---|---|
| committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2025-09-01 12:11:28 +0200 | 
| commit | 78e399955d352a2387a4b22713385a0c5d737685 (patch) | |
| tree | 21b401f662a6d07cdeda33a7f3aa013d393db30f /rust/helpers/err.c | |
| parent | ce6b656b5d64d612e9fc1c495eba6a362051c2ca (diff) | |
accel/rocket: Check the correct DMA irq status to warn about
Right now, the code checks the DMA_READ_ERROR state 2 times, while
I guess it was supposed to warn about both read and write errors.
Change the 2nd check to look at the write-error flag.
Fixes: 0810d5ad88a1 ("accel/rocket: Add job submission IOCTL")
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Tomeu Vizoso <tomeu@tomeuvizoso.net>
Link: https://lore.kernel.org/r/20250818185658.2585696-1-heiko@sntech.de
Diffstat (limited to 'rust/helpers/err.c')
0 files changed, 0 insertions, 0 deletions
