From: Eric Ernst Date: Thu, 12 Jun 2014 18:06:20 +0000 (-0700) Subject: pinctrl: baytrail: Warn if direct IRQ GPIO set to output X-Git-Tag: omap-for-v3.17/fixes-against-rc2~128^2~21 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff998356b644ebe723127bd9eec6040b59a4a4f6;p=pandora-kernel.git pinctrl: baytrail: Warn if direct IRQ GPIO set to output For Baytrail, you should never set a GPIO set to direct_irq to output mode. When direct_irq_en is set for a GPIO, it is tied directly to an APIC internally, and making the pad output does not make any sense. Assert a WARN() in the event this happens. Signed-off-by: Eric Ernst Acked-by: Mika Westerberg Signed-off-by: Linus Walleij --- Reading git-diff-tree failed