提交 1ef5677e 编写于 作者: Y Yi Zhang 提交者: Samuel Ortiz

mfd: 88pm800: 88pm805: Remove "IRQF_TRIGGER_FALLING" flag

88pm800/88pm805 interrupt is asserted low if the events happened.
So remove IRQF_TRIGGER_FALLING for irq request.
Also, the interrupt wiring is board dependent so do not set
IRQF_TRIGGER by default.
Signed-off-by: NYi Zhang <yizhang@marvell.com>
Signed-off-by: NChao Xie <chao.xie@marvell.com>
Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
上级 cb5c5800
......@@ -318,7 +318,7 @@ static int device_gpadc_init(struct pm80x_chip *chip,
static int device_irq_init_800(struct pm80x_chip *chip)
{
struct regmap *map = chip->regmap;
unsigned long flags = IRQF_TRIGGER_FALLING | IRQF_ONESHOT;
unsigned long flags = IRQF_ONESHOT;
int data, mask, ret = -EINVAL;
if (!map || !chip->irq) {
......
......@@ -138,7 +138,7 @@ static struct regmap_irq pm805_irqs[] = {
static int device_irq_init_805(struct pm80x_chip *chip)
{
struct regmap *map = chip->regmap;
unsigned long flags = IRQF_TRIGGER_FALLING | IRQF_ONESHOT;
unsigned long flags = IRQF_ONESHOT;
int data, mask, ret = -EINVAL;
if (!map || !chip->irq) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册