Skip to content

Commit

Permalink
[ARM] pxa: remove spi cs gpio direction to avoid clash with driver
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
  • Loading branch information
Jonathan Cameron authored and Eric Miao committed Mar 22, 2010
1 parent 7471f46 commit ef80936
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions arch/arm/mach-pxa/imote2.c
Original file line number Diff line number Diff line change
Expand Up @@ -559,10 +559,6 @@ static void __init imote2_init(void)
pxa_set_btuart_info(NULL);
pxa_set_stuart_info(NULL);

/* SPI chip select directions - all other directions should
* be handled by drivers.*/
gpio_direction_output(37, 0);

platform_add_devices(imote2_devices, ARRAY_SIZE(imote2_devices));

pxa2xx_set_spi_info(1, &pxa_ssp_master_0_info);
Expand Down
5 changes: 0 additions & 5 deletions arch/arm/mach-pxa/stargate2.c
Original file line number Diff line number Diff line change
Expand Up @@ -764,11 +764,6 @@ static void __init stargate2_init(void)
pxa_set_btuart_info(NULL);
pxa_set_stuart_info(NULL);

/* spi chip selects */
gpio_direction_output(37, 0);
gpio_direction_output(24, 0);
gpio_direction_output(39, 0);

platform_add_devices(ARRAY_AND_SIZE(stargate2_devices));

pxa2xx_set_spi_info(1, &pxa_ssp_master_0_info);
Expand Down

0 comments on commit ef80936

Please sign in to comment.