On 16/01/2023 17:37, Bruce Richardson wrote:
When the DMA device was stopped and restarted by the driver, the control
register specifying the behaviour on error was not getting correctly
reset. This caused unit tests to fail as explicitly introduced errors
were got getting reported back.

Fix by moving the setting of the register to the start function from the
probe function.

Fixes: 583f046dd404 ("dma/ioat: add start and stop")
Cc: [email protected]
Cc: [email protected]

Signed-off-by: Bruce Richardson <[email protected]>
---
  drivers/dma/ioat/ioat_dmadev.c | 5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)

Acked-by: Kevin Laatz <[email protected]>

Reply via email to