From: Tony Lindgren Date: Thu, 10 Apr 2014 23:47:19 +0000 (-0700) Subject: pinctrl: single: Clear pin interrupts enabled by bootloader X-Git-Tag: omap-for-v3.16/pm-signed~24^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58968625c496c2e39545781915dbb848b38bd249;p=pandora-kernel.git pinctrl: single: Clear pin interrupts enabled by bootloader Since we set up device wake-up interrupts as pinctrl-single interrupts, we now must use the standard request_irq and related functions to manage them. If the pin interrupts are enabled for some pins at boot, the wake-up events can show up as constantly pending at least on omaps and will hang the system unless the related device driver clears the event at the device. To fix this, let's clear the interrupt flags during init, and print out a warning so the board maintainers can update their drivers to do proper request_irq for the driver specific wake-up events. Cc: Haojian Zhuang Cc: Linus Walleij Signed-off-by: Tony Lindgren Signed-off-by: Linus Walleij --- Reading git-diff-tree failed