aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarry Song <barry.song@analog.com>2009-09-18 05:14:38 -0400
committerMike Frysinger <vapier@gentoo.org>2010-03-09 00:30:45 -0500
commit08a54bffaf7d5dc9391518323234ce9f9ea4be8e (patch)
tree8bd380915fca5830f68362b549313f6cd9278174
parent6bd1fbea2e8bff9346a5afb44ca948b4e4ed74a5 (diff)
Blackfin: bf537-stamp: ad1938: switch to GPIO CS
Signed-off-by: Barry Song <barry.song@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--arch/blackfin/mach-bf537/boards/stamp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c
index 9842288c4f1c..554f82d6f9da 100644
--- a/arch/blackfin/mach-bf537/boards/stamp.c
+++ b/arch/blackfin/mach-bf537/boards/stamp.c
@@ -528,7 +528,6 @@ static struct bfin5xx_spi_chip ad1836_spi_chip_info = {
528static struct bfin5xx_spi_chip ad1938_spi_chip_info = { 528static struct bfin5xx_spi_chip ad1938_spi_chip_info = {
529 .enable_dma = 0, 529 .enable_dma = 0,
530 .bits_per_word = 8, 530 .bits_per_word = 8,
531 .cs_gpio = GPIO_PF5,
532}; 531};
533#endif 532#endif
534 533
@@ -910,7 +909,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = {
910 .modalias = "ad1938", 909 .modalias = "ad1938",
911 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ 910 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
912 .bus_num = 0, 911 .bus_num = 0,
913 .chip_select = 0,/* CONFIG_SND_BLACKFIN_SPI_PFBIT */ 912 .chip_select = 5,
914 .controller_data = &ad1938_spi_chip_info, 913 .controller_data = &ad1938_spi_chip_info,
915 .mode = SPI_MODE_3, 914 .mode = SPI_MODE_3,
916 }, 915 },