OSDN Git Service

fpga: dfl: fix bug in port reset handshake
authorMatthew Gerlach <matthew.gerlach@linux.intel.com>
Mon, 13 Jul 2020 06:10:03 +0000 (14:10 +0800)
committerMoritz Fischer <mdf@kernel.org>
Tue, 14 Jul 2020 05:11:17 +0000 (22:11 -0700)
commit8614afd689df59d9ce019439389be20bd788a897
treebfc0381e299391100ee1a895c0634585dd5cdf03
parente19485dc7a0d210b428a249c0595769bd495fb71
fpga: dfl: fix bug in port reset handshake

When putting the port in reset, driver must wait for the soft reset
acknowledgment bit instead of the soft reset bit.

Fixes: 47c1b19c160f (fpga: dfl: afu: add port ops support)
Signed-off-by: Matthew Gerlach <matthew.gerlach@linux.intel.com>
Signed-off-by: Xu Yilun <yilun.xu@intel.com>
Acked-by: Wu Hao <hao.wu@intel.com>
Reviewed-by: Tom Rix <trix@redhat.com>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
drivers/fpga/dfl-afu-main.c