projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c588e37
)
ARM: 6250/1: patch for modifying spi flash configuration
author
wanzongshun
<mcuos.com@gmail.com>
Thu, 22 Jul 2010 08:12:30 +0000
(09:12 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Thu, 22 Jul 2010 08:20:18 +0000
(09:20 +0100)
This patch is to modify spi flash configuration,
the previous one can make spi driver work failed.
Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-w90x900/dev.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-w90x900/dev.c
b/arch/arm/mach-w90x900/dev.c
index 7ae543899c85965ce0f0e1080fcca0edb6b85c70..7a1fa6adb7c32d5645b1f0e608b1e61794081afc 100644
(file)
--- a/
arch/arm/mach-w90x900/dev.c
+++ b/
arch/arm/mach-w90x900/dev.c
@@
-209,7
+209,7
@@
static struct nuc900_spi_info nuc900_spiflash_data = {
.divider = 24,
.sleep = 0,
.txnum = 0,
- .txbitlen =
1
,
+ .txbitlen =
8
,
.bus_num = 0,
};
@@
-258,7
+258,7
@@
static struct spi_board_info nuc900_spi_board_info[] __initdata = {
.modalias = "m25p80",
.max_speed_hz = 20000000,
.bus_num = 0,
- .chip_select =
1
,
+ .chip_select =
0
,
.platform_data = &nuc900_spi_flash_data,
.mode = SPI_MODE_0,
},