diff options
| author | Ahmad Fatoum <[email protected]> | 2022-02-01 12:51:41 +0100 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2022-02-22 11:56:39 +0000 |
| commit | 5741150c808b2bbeb1017609f3029daf6651b7d5 (patch) | |
| tree | 079c1d5b5703ccac5215c6f8ce1d5b868571797b /Documentation/driver-api/fpga/fpga-programming.rst | |
| parent | f89504300e94524d5d5846ff8b728592ac72cec4 (diff) | |
spi: stm32: ignore Rx queue not empty in stm32f4 Tx only mode
STM32F4_SPI_SR_RXNE and STM32F4_SPI_SR_OVR are distinct bits in the same
status register. ~STM32F4_SPI_SR_OVR | STM32F4_SPI_SR_RXNE is thus
equal to ~STM32F4_SPI_SR_OVR.
The original intention was likely for transmission-only transfers to
ignore interrupts both for when the Rx queue has bytes (RXNE) as well
as when these bytes haven't been read in time (OVR).
Fix the typo by adding the missing parenthesis.
Signed-off-by: Ahmad Fatoum <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'Documentation/driver-api/fpga/fpga-programming.rst')
0 files changed, 0 insertions, 0 deletions