From e07725be735e1791cf74e9db06a8bde62e1f517d Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Wed, 8 Jan 2014 22:27:54 +0800 Subject: 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 8641b03..a37f156 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); -- cgit v0.10.2