git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drivers/net/igb: remove dead code (function 'igb_read_pci_cfg')
[safe/jmp/linux-2.6]
/
drivers
/
of
/
of_spi.c
diff --git
a/drivers/of/of_spi.c
b/drivers/of/of_spi.c
index
b01eec0
..
bed0ed6
100644
(file)
--- a/
drivers/of/of_spi.c
+++ b/
drivers/of/of_spi.c
@@
-61,6
+61,8
@@
void of_register_spi_devices(struct spi_master *master, struct device_node *np)
spi->mode |= SPI_CPHA;
if (of_find_property(nc, "spi-cpol", NULL))
spi->mode |= SPI_CPOL;
+ if (of_find_property(nc, "spi-cs-high", NULL))
+ spi->mode |= SPI_CS_HIGH;
/* Device speed */
prop = of_get_property(nc, "spi-max-frequency", &len);