Skip to content

Commit

Permalink
avr32: Fix bug in LCD pin setup on port C
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alex Raimondi authored and Haavard Skinnemoen committed Oct 23, 2008
1 parent 2515ddc commit 6090065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/avr32/mach-at32ap/at32ap700x.c
Original file line number Diff line number Diff line change
Expand Up @@ -1470,7 +1470,7 @@ at32_add_device_lcdc(unsigned int id, struct atmel_lcdfb_info *data,
pin_mask = ATMEL_LCDC_PRI_24BIT | ATMEL_LCDC_PRI_CONTROL;

/* LCDC on port C */
portc_mask = (pin_mask & 0xfff80000) >> 19;
portc_mask = pin_mask & 0xfff80000;
select_peripheral(PIOC, portc_mask, PERIPH_A, 0);

/* LCDC on port D */
Expand Down

0 comments on commit 6090065

Please sign in to comment.