diff options
author | Prashant Gaikwad <pgaikwad@nvidia.com> | 2011-08-25 15:10:27 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:48:36 -0800 |
commit | d8f3a191f6c88e2a0ecb402af0670b71c477c6d7 (patch) | |
tree | e7cd9ef1bbda346bfbbd5906557146ca58c1dae3 /drivers/mfd | |
parent | ba04eabdd7e71e6860045c7f7583a466b50ea6d7 (diff) |
mfd: max8907c: irq update
ARM requires an extra step to clear IRQ_NOREQUEST, which it
sets on behalf of every irq_chip.
Change-Id: I7c096b1164f9bf6fb2d24ed1e07c69e217ecebf8
Reviewed-on: http://git-master/r/49189
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Rebase-Id: Rc6618ecb83a221bd7da3697d86e55974ee795bec
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/max8907c-irq.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/mfd/max8907c-irq.c b/drivers/mfd/max8907c-irq.c index d49b186e1bea..e18fabdeb510 100644 --- a/drivers/mfd/max8907c-irq.c +++ b/drivers/mfd/max8907c-irq.c @@ -328,7 +328,10 @@ int max8907c_irq_init(struct max8907c *chip, int irq, int irq_base) handle_edge_irq); irq_set_nested_thread(__irq, 1); #ifdef CONFIG_ARM - irq_set_status_flags(__irq, IRQF_VALID); + /* ARM requires an extra step to clear IRQ_NOREQUEST, which it + * sets on behalf of every irq_chip. + */ + set_irq_flags(__irq, IRQF_VALID); #else irq_set_noprobe(__irq); #endif |