Skip to content

Commit e1502ba

Browse files
Sai Krishna Potthuribroonie
authored andcommitted
spi: spi-cadence: Fix SPI NO Slave Select macro definition
Fix SPI NO Slave Select macro definition, when all the SPI CS bits are high which means no slave is selected. Fixes: 21b511d ("spi: spi-cadence: Fix SPI CS gets toggling sporadically") Signed-off-by: Sai Krishna Potthuri <lakshmi.sai.krishna.potthuri@xilinx.com> Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@xilinx.com> Link: https://lore.kernel.org/r/20220713164529.28444-1-amit.kumar-mahapatra@xilinx.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 4ceaa68 commit e1502ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/spi/spi-cadence.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
#define CDNS_SPI_BAUD_DIV_SHIFT 3 /* Baud rate divisor shift in CR */
7070
#define CDNS_SPI_SS_SHIFT 10 /* Slave Select field shift in CR */
7171
#define CDNS_SPI_SS0 0x1 /* Slave Select zero */
72-
#define CDNS_SPI_NOSS 0x3C /* No Slave select */
72+
#define CDNS_SPI_NOSS 0xF /* No Slave select */
7373

7474
/*
7575
* SPI Interrupt Registers bit Masks

0 commit comments

Comments
 (0)