Message ID | 20200618080459.v4.4.I988281f7c6ee0ed00325559bfce7539f403da69e@changeid |
---|---|
State | Accepted |
Commit | 902481a78ee4173926dc59f060526dee21aeb7a8 |
Headers | show |
Series | [v4,1/5] spi: spi-geni-qcom: No need for irqsave variant of spinlock calls | expand |
diff --git a/drivers/spi/spi-geni-qcom.c b/drivers/spi/spi-geni-qcom.c index 11f36d237c77..5b8ca8b93b06 100644 --- a/drivers/spi/spi-geni-qcom.c +++ b/drivers/spi/spi-geni-qcom.c @@ -285,7 +285,7 @@ static int spi_geni_init(struct spi_geni_master *mas) * Hardware programming guide suggests to configure * RX FIFO RFR level to fifo_depth-2. */ - geni_se_init(se, 0x0, mas->tx_fifo_depth - 2); + geni_se_init(se, mas->tx_fifo_depth / 2, mas->tx_fifo_depth - 2); /* Transmit an entire FIFO worth of data per IRQ */ mas->tx_wm = 1; ver = geni_se_get_qup_hw_version(se);