]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8615ebac03bd5d8a3b51a965329445cdd28c795b
treebfc0381e299391100ee1a895c0634585dd5cdf03
parent40f2ca715f73e842ad2a89808e1f4a1793cee9e5
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: 0b199e7d58c2 (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