commit | ff998356b644ebe723127bd9eec6040b59a4a4f6 | [log] [tgz] |
---|---|---|
author | Eric Ernst <eric.ernst@linux.intel.com> | Thu Jun 12 11:06:20 2014 -0700 |
committer | Linus Walleij <linus.walleij@linaro.org> | Fri Jul 11 14:08:35 2014 +0200 |
tree | 33f8f7087d5a77afaf99533dd4be2790b6325e5f | |
parent | 1f978217a0c687a4cfed6ad698a3173826be4c3f [diff] |
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 <eric.ernst@linux.intel.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>