Commit 97d81951 authored by Alessandro Rubini's avatar Alessandro Rubini Committed by Federico Vaga

bugfix: spi: fix wrong trailing 'clear chip select'

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent b433d6f8
......@@ -67,7 +67,7 @@ int fa_spi_xfer(struct fa_dev *fa, int cs, int num_bits,
*rx = regval;
out:
/* Clear Chip Select */
fmc_writel(fa->fmc, 0, FA_SPI_REG(FA_SPI_CTRL_ASS));
fmc_writel(fa->fmc, 0, FA_SPI_REG(FA_SPI_CTRL));
return err;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment