diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-07-10 19:29:58 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-07-10 19:29:58 +0000 |
commit | 6b033e9becae1225a298877fb926f1eac21c665b (patch) | |
tree | a40bf7a28cefa1f4f31febf59ea99160fdbd8320 /target/linux/ar71xx | |
parent | 98e622df30a143ad07b1284ad77f8388211eea74 (diff) | |
download | mtk-20170518-6b033e9becae1225a298877fb926f1eac21c665b.zip mtk-20170518-6b033e9becae1225a298877fb926f1eac21c665b.tar.gz mtk-20170518-6b033e9becae1225a298877fb926f1eac21c665b.tar.bz2 |
fix a bug in the SPI driver (closes #5485)
SVN-Revision: 16767
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r-- | target/linux/ar71xx/files/drivers/spi/ar71xx_spi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/drivers/spi/ar71xx_spi.c b/target/linux/ar71xx/files/drivers/spi/ar71xx_spi.c index 98de435..654a0c8 100644 --- 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) |