X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=arch%2Favr32%2Fmach-at32ap%2Fat32ap700x.c;h=8c435a6f4a6caa7d6dca710c2996cef645e93718;hb=6090065663ba5daab82d116d3040dc924e8cf79f;hp=813b6844cdf67a1ec485ccc4f3839baa42c2682d;hpb=2515ddc6db8eb49a79f0fe5e67ff09ac7c81eab4;p=linux-2.6-omap-h63xx.git diff --git a/arch/avr32/mach-at32ap/at32ap700x.c b/arch/avr32/mach-at32ap/at32ap700x.c index 813b6844cdf..8c435a6f4a6 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, 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 */