Re: [PATCH] fpga-manager: altera-ps-spi: preserve nCONFIG state
From: Greg KH
Date: Mon Apr 16 2018 - 04:26:37 EST
On Sun, Apr 15, 2018 at 11:33:08AM -0700, Moritz Fischer wrote:
> From: Anatolij Gustschin <agust@xxxxxxx>
>
> 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@xxxxxxx>
> Acked-by: Alan Tull <atull@xxxxxxxxxx>
> Signed-off-by: Moritz Fischer <mdf@xxxxxxxxxx>
> ---
>
> Hi Greg,
>
> 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?
thanks,
greg k-h