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: conor.wa...@intel.com
Cc: sta...@dpdk.org

Signed-off-by: Bruce Richardson <bruce.richard...@intel.com>
---
  drivers/dma/ioat/ioat_dmadev.c | 5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)

Acked-by: Kevin Laatz <kevin.la...@intel.com>

Reply via email to