Skip to content

Commit

Permalink
ARM: Dove: fix second SPI initialization call
Browse files Browse the repository at this point in the history
Commit 980f9f6 "ARM: orion: Consolidate SPI initialization."
broke it by overwriting the SPI0 registration.

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Cc: <stable@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
  • Loading branch information
Nicolas Pitre authored and Arnd Bergmann committed Sep 14, 2011
1 parent b6fd41e commit 72cc205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-dove/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ void __init dove_spi0_init(void)

void __init dove_spi1_init(void)
{
orion_spi_init(DOVE_SPI1_PHYS_BASE, get_tclk());
orion_spi_1_init(DOVE_SPI1_PHYS_BASE, get_tclk());
}

/*****************************************************************************
Expand Down

0 comments on commit 72cc205

Please sign in to comment.