pinctrl: baytrail: Warn if direct IRQ GPIO set to output
authorEric Ernst <eric.ernst@linux.intel.com>
Thu, 12 Jun 2014 18:06:20 +0000 (11:06 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 11 Jul 2014 12:08:35 +0000 (14:08 +0200)
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 <eric.ernst@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

No differences found