From: Haavard Skinnemoen Date: Mon, 29 Jan 2007 16:59:40 +0000 (+0100) Subject: [AVR32] Don't reset PIO state at bootup X-Git-Tag: firefly_0821_release~31114^2~63^2~6 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dde251033f3e54619317269a908ce40e6f3a8d04;p=firefly-linux-kernel-4.4.55.git [AVR32] Don't reset PIO state at bootup Leave the PIO lines as the bootloader left them. This allows us to use PIOE without disturbing the SDRAM muxing. Signed-off-by: Haavard Skinnemoen --- diff --git a/arch/avr32/mach-at32ap/pio.c b/arch/avr32/mach-at32ap/pio.c index 17e835de95cb..c3f596ce5267 100644 --- a/arch/avr32/mach-at32ap/pio.c +++ b/arch/avr32/mach-at32ap/pio.c @@ -385,9 +385,6 @@ void __init at32_init_pio(struct platform_device *pdev) */ pio->gpio_mask = ~0UL; - pio_writel(pio, ODR, ~0UL); - pio_writel(pio, PER, ~0UL); - /* start with irqs disabled and acked */ pio_writel(pio, IDR, ~0UL); (void) pio_readl(pio, ISR);