Re: [PATCH] fpga-manager: altera-ps-spi: preserve nCONFIG state

2018-04-16 Thread Anatolij Gustschin
On Mon, 16 Apr 2018 10:10:08 +0200 Greg KH gre...@linuxfoundation.org wrote: ... >> as discussed. Can you please take this bugfix for 4.17? >> I rebased it against next. > >Is it also needed in any older kernel versions? It is needed in versions starting from v4.14. thanks, Anatolij

Re: [PATCH] fpga-manager: altera-ps-spi: preserve nCONFIG state

2018-04-16 Thread Greg KH
On Sun, Apr 15, 2018 at 11:33:08AM -0700, Moritz Fischer wrote: > From: Anatolij Gustschin > > 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 > val

[PATCH] fpga-manager: altera-ps-spi: preserve nCONFIG state

2018-04-15 Thread Moritz Fischer
From: Anatolij Gustschin 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: