mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue