diff options
author | Alex Raimondi <mailinglist@miromico.ch> | 2008-10-13 10:03:45 -0400 |
---|---|---|
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-10-23 09:18:22 -0400 |
commit | 6090065663ba5daab82d116d3040dc924e8cf79f (patch) | |
tree | 544f627ecc88ced3f8ec5c6b35e53d6b23104338 /arch/avr32 | |
parent | 2515ddc6db8eb49a79f0fe5e67ff09ac7c81eab4 (diff) |
avr32: Fix bug in LCD pin setup on port C
Bug was introduced with the new at32_select_periph function.
Signed-off-by: Alex Raimondi <mailinglist@miromico.ch>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32')
-rw-r--r-- | arch/avr32/mach-at32ap/at32ap700x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/mach-at32ap/at32ap700x.c b/arch/avr32/mach-at32ap/at32ap700x.c index 813b6844cdf6..8c435a6f4a6c 100644 --- a/arch/avr32/mach-at32ap/at32ap700x.c +++ b/arch/avr32/mach-at32ap/at32ap700x.c | |||
@@ -1470,7 +1470,7 @@ at32_add_device_lcdc(unsigned int id, struct atmel_lcdfb_info *data, | |||
1470 | pin_mask = ATMEL_LCDC_PRI_24BIT | ATMEL_LCDC_PRI_CONTROL; | 1470 | pin_mask = ATMEL_LCDC_PRI_24BIT | ATMEL_LCDC_PRI_CONTROL; |
1471 | 1471 | ||
1472 | /* LCDC on port C */ | 1472 | /* LCDC on port C */ |
1473 | portc_mask = (pin_mask & 0xfff80000) >> 19; | 1473 | portc_mask = pin_mask & 0xfff80000; |
1474 | select_peripheral(PIOC, portc_mask, PERIPH_A, 0); | 1474 | select_peripheral(PIOC, portc_mask, PERIPH_A, 0); |
1475 | 1475 | ||
1476 | /* LCDC on port D */ | 1476 | /* LCDC on port D */ |