diff options
author | Eric Ernst <eric.ernst@linux.intel.com> | 2014-06-12 22:06:20 +0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-07-11 16:08:35 +0400 |
commit | ff998356b644ebe723127bd9eec6040b59a4a4f6 (patch) | |
tree | 33f8f7087d5a77afaf99533dd4be2790b6325e5f /drivers/pinctrl/sh-pfc | |
parent | 1f978217a0c687a4cfed6ad698a3173826be4c3f (diff) | |
download | linux-ff998356b644ebe723127bd9eec6040b59a4a4f6.tar.xz |
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>
Diffstat (limited to 'drivers/pinctrl/sh-pfc')
0 files changed, 0 insertions, 0 deletions