projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ce4eac
)
spi: fsl-dspi: Add missing breaks for switch cases
author
Axel Lin
<axel.lin@ingics.com>
Wed, 8 Jan 2014 14:27:54 +0000
(22:27 +0800)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-fsl-dspi.c
b/drivers/spi/spi-fsl-dspi.c
index 8641b03bdd7a26f6057914a05e2095c4a9d22d0c..a37f15665a605bef82ab24be6d03aeeed10a187b 100644
(file)
--- 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);