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