mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 19:37:10 +02:00
[ar71xx] fix a bug in the SPI driver (closes #5485)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16767 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
484a7d0507
commit
0e3b9332fb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user