Re: [PATCH v4 1/1] fpga: dfl: afu: harden port enable logic

2021-02-05 Thread matthew . gerlach
Reviewed-by: Matthew Gerlach On Thu, 4 Feb 2021, Russ Weight wrote: Port enable is not complete until ACK = 0. Change __afu_port_enable() to guarantee that the enable process is complete by polling for ACK == 0. Reviewed-by: Tom Rix Signed-off-by: Russ Weight --- v4: - Added a dev_warn() c

[PATCH v4 1/1] fpga: dfl: afu: harden port enable logic

2021-02-04 Thread Russ Weight
Port enable is not complete until ACK = 0. Change __afu_port_enable() to guarantee that the enable process is complete by polling for ACK == 0. Reviewed-by: Tom Rix Signed-off-by: Russ Weight --- v4: - Added a dev_warn() call for the -EINVAL case of afu_port_err_clear() - Modified dev_err()