projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2515ddc
)
avr32: Fix bug in LCD pin setup on port C
author
Alex Raimondi
<
[email protected]
>
Mon, 13 Oct 2008 14:03:45 +0000
(16:03 +0200)
committer
Haavard Skinnemoen
<
[email protected]
>
Thu, 23 Oct 2008 13:18:22 +0000
(15:18 +0200)
Bug was introduced with the new at32_select_periph function.
Signed-off-by: Alex Raimondi <
[email protected]
>
Signed-off-by: Haavard Skinnemoen <
[email protected]
>
arch/avr32/mach-at32ap/at32ap700x.c
patch
|
blob
|
history
diff --git
a/arch/avr32/mach-at32ap/at32ap700x.c
b/arch/avr32/mach-at32ap/at32ap700x.c
index 813b6844cdf67a1ec485ccc4f3839baa42c2682d..8c435a6f4a6caa7d6dca710c2996cef645e93718 100644
(file)
--- 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,
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 */