Skip to contentSkip to conversation

spi: davinci: Fix register address for SPI1_BUS

PATCH In review Axel Lin 2 participants 2 messages Jun 18, 2014 – Jun 19, 2014 SPI

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 spi: davinci: Fix register address for SPI1_BUS

Fix a trivial copy-paste bug.

---
 drivers/spi/davinci_spi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/davinci_spi.c +1 -1
index 28fb3a2..0ec5b9d 100644
@@ -41,7 +41,7 @@ struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,
 		break;
 #ifdef CONFIG_SYS_SPI1
 	case SPI1_BUS:
-		ds->regs = (struct davinci_spi_regs *)SPI0_BASE;
+		ds->regs = (struct davinci_spi_regs *)SPI1_BASE;
 		break;
 #endif
 #ifdef CONFIG_SYS_SPI2
Signature · 1 line
1.8.3.2
#1 lore raw
Quoted 3 lines · Axel Lin

Fix a trivial copy-paste bug.

Applied to u-boot-ti/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140619/144fab69/attachment.pgp>