pinctrl: baytrail: Clear DIRECT_IRQ bit
authorLoic Poulain <loic.poulain@intel.com>
Fri, 26 Sep 2014 14:14:51 +0000 (16:14 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 20 Oct 2014 07:05:05 +0000 (09:05 +0200)
commit3a71c05e66e597a1349fdbd5f0bb119d8d9cb850
treeefe589c92bb4ffbc8c51cd232188f950944239d8
parentf114040e3ea6e07372334ade75d1ee0775c355e1
pinctrl: baytrail: Clear DIRECT_IRQ bit

Direct irq en bit should be cleared for pads using io mode.
If not, the io based irq will never be detected.
However, this bit can sometimes be misconfigured (BIOS issue).
Force clearing of this bit in io mode and trigger a WARN.

Signed-off-by: Loic Poulain <loic.poulain@intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-baytrail.c