From: Axel Lin Date: Wed, 8 Jan 2014 14:27:54 +0000 (+0800) Subject: spi: fsl-dspi: Add missing breaks for switch cases X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e07725be735e1791cf74e9db06a8bde62e1f517d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git spi: fsl-dspi: Add missing breaks for switch cases Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- 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);