From 0e3b9332fbf5140769f685eca512f9b02c38462e Mon Sep 17 00:00:00 2001 From: juhosg Date: Fri, 10 Jul 2009 19:29:58 +0000 Subject: [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 --- target/linux/ar71xx/files/drivers/spi/ar71xx_spi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target/linux/ar71xx/files/drivers/spi') diff --git a/target/linux/ar71xx/files/drivers/spi/ar71xx_spi.c b/target/linux/ar71xx/files/drivers/spi/ar71xx_spi.c index 98de435fd..654a0c8f1 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 #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) -- cgit v1.2.3