projects
/
openwrt
/
staging
/
linusw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98e622d
)
fix a bug in the SPI driver (closes #5485)
author
Gabor Juhos
<juhosg@openwrt.org>
Fri, 10 Jul 2009 19:29:58 +0000
(19:29 +0000)
committer
Gabor Juhos
<juhosg@openwrt.org>
Fri, 10 Jul 2009 19:29:58 +0000
(19:29 +0000)
SVN-Revision: 16767
target/linux/ar71xx/files/drivers/spi/ar71xx_spi.c
patch
|
blob
|
history
diff --git
a/target/linux/ar71xx/files/drivers/spi/ar71xx_spi.c
b/target/linux/ar71xx/files/drivers/spi/ar71xx_spi.c
index 98de435fda6cd177e5c1d541bf8dc546bfac97fe..654a0c8f10545e06b8924a451ac6711605cce501 100644
(file)
--- a/
target/linux/ar71xx/files/drivers/spi/ar71xx_spi.c
+++ b/
target/linux/ar71xx/files/drivers/spi/ar71xx_spi.c
@@
-25,7
+25,7
@@
#include <asm/mach-ar71xx/platform.h>
#define DRV_DESC "Atheros AR71xx SPI Controller driver"
-#define DRV_VERSION "0.2.
2
"
+#define DRV_VERSION "0.2.
3
"
#define DRV_NAME "ar71xx-spi"
#undef PER_BIT_READ
@@
-184,7
+184,7
@@
static int ar71xx_spi_probe(struct platform_device *pdev)
goto err1;
}
- sp->reg_ctrl = ar71xx_spi_rr(sp, SPI_REG_
IOC
);
+ sp->reg_ctrl = ar71xx_spi_rr(sp, SPI_REG_
CTRL
);
ret = spi_bitbang_start(&sp->bitbang);
if (!ret)