summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-fsl-dspi.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-01-08 15:27:54 +0100
committerMark Brown <broonie@linaro.org>2014-01-09 18:29:26 +0100
commite07725be735e1791cf74e9db06a8bde62e1f517d (patch)
treee26875ccaef5c88240d5d550c6d7611b230ad043 /drivers/spi/spi-fsl-dspi.c
parentLinux 3.13-rc1 (diff)
downloadlinux-e07725be735e1791cf74e9db06a8bde62e1f517d.tar.xz
linux-e07725be735e1791cf74e9db06a8bde62e1f517d.zip
spi: fsl-dspi: Add missing breaks for switch cases
Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-fsl-dspi.c')
-rw-r--r--drivers/spi/spi-fsl-dspi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/spi/spi-fsl-dspi.c b/drivers/spi/spi-fsl-dspi.c
index 8641b03bdd7a..a37f15665a60 100644
--- a/drivers/spi/spi-fsl-dspi.c
+++ b/drivers/spi/spi-fsl-dspi.c
@@ -320,8 +320,10 @@ static void dspi_chipselect(struct spi_device *spi, int value)
switch (value) {
case BITBANG_CS_ACTIVE:
pushr |= SPI_PUSHR_CONT;
+ break;
case BITBANG_CS_INACTIVE:
pushr &= ~SPI_PUSHR_CONT;
+ break;
}
writel(pushr, dspi->base + SPI_PUSHR);