diff options
author | 2015-06-24 17:31:33 +0300 | |
---|---|---|
committer | 2015-07-07 19:47:50 +0100 | |
commit | 861a481c5ede75bf31bc118f1f7f6d1f420182b5 (patch) | |
tree | 625e27abf5f78a790f1936fa6b96344f25573c10 /drivers/spi/spi-zynqmp-gqspi.c | |
parent | spi: SPI_ZYNQMP_GQSPI should depend on HAS_DMA (diff) | |
download | linux-861a481c5ede75bf31bc118f1f7f6d1f420182b5.tar.gz linux-861a481c5ede75bf31bc118f1f7f6d1f420182b5.tar.bz2 linux-861a481c5ede75bf31bc118f1f7f6d1f420182b5.zip |
spi: zynq: missing break statement
There is a missing break statement here so selecting both only selects
upper.
Fixes: dfe11a11d523 ('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>
Diffstat (limited to 'drivers/spi/spi-zynqmp-gqspi.c')
-rw-r--r-- | drivers/spi/spi-zynqmp-gqspi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi-zynqmp-gqspi.c b/drivers/spi/spi-zynqmp-gqspi.c index 87b20a511a6b..f23f36ebaf3d 100644 --- a/drivers/spi/spi-zynqmp-gqspi.c +++ b/drivers/spi/spi-zynqmp-gqspi.c @@ -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; |