Linux FPGA changes for 4.17
-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEEowQ4eJSlIZpNWnl2UVwKRFcJcNgFAlq7+ncACgkQUVwKRFcJ
cNhvxwf/Sr6fHLth846SnX4DQlVYyqohQed/B6J+CXfjdDeVyZPnpklSz3cKA6kX
asB6CFQzq7L8ZlepWlx8xXsHl09nyQssxw05ECBYNhjmTvpBJhwqunTD38qwCaHZ
Xq8gmZUgdp7+rrhsSDuZcIruQMcCVvFJFlvkdMEbCozwpfgX4bznHU1tLDPv4/q8
rxxdt7b8DMq2IuaGLPDFz6vHOrnfKfoborzRrWL2O2Ju+HeNk0ughaZc7qN29KMR
E1CWujiNjj1zeiFI3+f4C+KYen87O1ZmBYtuEKlIkhvB3AmEX6LpFhnvIh2+LxXL
sURfEB0DZH9H9MjPI9cl38gO4/B6VQ==
=diTJ
-----END PGP SIGNATURE-----
fpga-manager: altera-ps-spi: preserve nCONFIG state

If the driver module is loaded when FPGA is configured, the FPGA
is reset because nconfig is pulled low (low-active gpio inited
with GPIOD_OUT_HIGH activates the signal which means setting its
value to low). Init nconfig with GPIOD_OUT_LOW to prevent this.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Alan Tull <atull@kernel.org>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
1 file changed