spi: fsl-dspi: Add missing breaks for switch cases
authorAxel Lin <axel.lin@ingics.com>
Wed, 8 Jan 2014 14:27:54 +0000 (22:27 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 9 Jan 2014 17:29:26 +0000 (17:29 +0000)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-fsl-dspi.c

index 8641b03bdd7a26f6057914a05e2095c4a9d22d0c..a37f15665a605bef82ab24be6d03aeeed10a187b 100644 (file)
@@ -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);