spi: zynq: missing break statement
There is a missing break statement here so selecting both only selects
upper.
Fixes: dfe11a11d5
('spi: Add support for Zynq Ultrascale+ MPSoC GQSPI controller')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
2e1c75f4d3
commit
861a481c5e
1 changed files with 1 additions and 0 deletions
|
@ -214,6 +214,7 @@ static void zynqmp_gqspi_selectslave(struct zynqmp_qspi *instanceptr,
|
|||
case GQSPI_SELECT_FLASH_CS_BOTH:
|
||||
instanceptr->genfifocs = GQSPI_GENFIFO_CS_LOWER |
|
||||
GQSPI_GENFIFO_CS_UPPER;
|
||||
break;
|
||||
case GQSPI_SELECT_FLASH_CS_UPPER:
|
||||
instanceptr->genfifocs = GQSPI_GENFIFO_CS_UPPER;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue