diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-05-27 17:09:56 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-05-27 17:09:56 +0000 |
commit | dafda799dd49da5b07e5df62b6cabb214dea6ea0 (patch) | |
tree | 71e2f7af213be36899a2c7ebd1d85419f05a5766 /target/linux/ramips/files/arch/mips | |
parent | c47535b3dc45df5cedb958e99087bb84af76b26c (diff) | |
download | upstream-dafda799dd49da5b07e5df62b6cabb214dea6ea0.tar.gz upstream-dafda799dd49da5b07e5df62b6cabb214dea6ea0.tar.bz2 upstream-dafda799dd49da5b07e5df62b6cabb214dea6ea0.zip |
ramips: rt3883: fix GPIO reservation for the SPI pins
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31920 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files/arch/mips')
-rw-r--r-- | target/linux/ramips/files/arch/mips/ralink/rt3883/rt3883.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt3883/rt3883.c b/target/linux/ramips/files/arch/mips/ralink/rt3883/rt3883.c index 9f9141266c..e397b854ea 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt3883/rt3883.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt3883/rt3883.c @@ -156,7 +156,7 @@ void __init rt3883_gpio_init(u32 mode) rt3883_gpio_reserve(RT3883_GPIO_I2C_SD, RT3883_GPIO_I2C_SCLK); if ((mode & RT3883_GPIO_MODE_SPI) == 0) - rt3883_gpio_reserve(RT3883_GPIO_SPI_CS0, RT3883_GPIO_SPI_CLK); + rt3883_gpio_reserve(RT3883_GPIO_SPI_CS0, RT3883_GPIO_SPI_MISO); t = mode >> RT3883_GPIO_MODE_UART0_SHIFT; t &= RT3883_GPIO_MODE_UART0_MASK; |