projects
/
GitHub
/
LineageOS
/
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:
4a495b1
)
mpc52xx_spi: add missing mode_bits definition
author
Luotao Fu
<l.fu@pengutronix.de>
Fri, 13 Nov 2009 09:41:16 +0000
(10:41 +0100)
committer
Grant Likely
<grant.likely@secretlab.ca>
Wed, 9 Dec 2009 01:48:13 +0000
(18:48 -0700)
V2 changes:
* remove CS_HIGH mode
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/mpc52xx_spi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/mpc52xx_spi.c
b/drivers/spi/mpc52xx_spi.c
index 232225088bc1e14661d265dfabe8269e92a40888..64862cfda19e2e52c9bbf1c3ef9a8db8f30359bb 100644
(file)
--- a/
drivers/spi/mpc52xx_spi.c
+++ b/
drivers/spi/mpc52xx_spi.c
@@
-430,6
+430,8
@@
static int __devinit mpc52xx_spi_probe(struct of_device *op,
master->num_chipselect = 1;
master->setup = mpc52xx_spi_setup;
master->transfer = mpc52xx_spi_transfer;
+ master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LSB_FIRST;
+
dev_set_drvdata(&op->dev, master);
ms = spi_master_get_devdata(master);