Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77434
b: refs/heads/master
c: 2743f0c
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Victor authored and Russell King committed Jan 26, 2008
1 parent 3fe9ac8 commit 6ba1803
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6d2a8401d27e3eb8b71d09dd67e0e7d0085b5e29
refs/heads/master: 2743f0c1dcca54d6c80b0de1273b3f4e90051a85
7 changes: 5 additions & 2 deletions trunk/arch/arm/mach-at91/at91rm9200_devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,11 @@ void __init at91_add_device_spi(struct spi_board_info *devices, int nr_devices)
else
cs_pin = spi_standard_cs[devices[i].chip_select];

/* enable chip-select pin */
at91_set_gpio_output(cs_pin, 1);
if (devices[i].chip_select == 0) /* for CS0 errata */
at91_set_A_periph(cs_pin, 0);
else
at91_set_gpio_output(cs_pin, 1);


/* pass chip-select pin to driver */
devices[i].controller_data = (void *) cs_pin;
Expand Down

0 comments on commit 6ba1803

Please sign in to comment.