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>
This commit is contained in:
parent
6ce4eac1f6
commit
e07725be73
|
@ -320,8 +320,10 @@ static void dspi_chipselect(struct spi_device *spi, int value)
|
||||||
switch (value) {
|
switch (value) {
|
||||||
case BITBANG_CS_ACTIVE:
|
case BITBANG_CS_ACTIVE:
|
||||||
pushr |= SPI_PUSHR_CONT;
|
pushr |= SPI_PUSHR_CONT;
|
||||||
|
break;
|
||||||
case BITBANG_CS_INACTIVE:
|
case BITBANG_CS_INACTIVE:
|
||||||
pushr &= ~SPI_PUSHR_CONT;
|
pushr &= ~SPI_PUSHR_CONT;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
writel(pushr, dspi->base + SPI_PUSHR);
|
writel(pushr, dspi->base + SPI_PUSHR);
|
||||||
|
|
Loading…
Reference in New Issue