Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 178823
b: refs/heads/master
c: 2d3f595
h: refs/heads/master
i:
  178821: 01b2a3f
  178819: 992bf7c
  178815: 11c0afa
v: v3
  • Loading branch information
Sekhar Nori authored and Kevin Hilman committed Jan 6, 2010
1 parent 303b47b commit 3d0babf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 077639f443294a25b16e4040ca06a1611700a4ae
refs/heads/master: 2d3f595016f982294c1669ee87aa91179d88502b
11 changes: 11 additions & 0 deletions trunk/arch/arm/mach-davinci/cp_intc.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,23 @@ static int cp_intc_set_irq_type(unsigned int irq, unsigned int flow_type)
return 0;
}

/*
* Faking this allows us to to work with suspend functions of
* generic drivers which call {enable|disable}_irq_wake for
* wake up interrupt sources (eg RTC on DA850).
*/
static int cp_intc_set_wake(unsigned int irq, unsigned int on)
{
return 0;
}

static struct irq_chip cp_intc_irq_chip = {
.name = "cp_intc",
.ack = cp_intc_ack_irq,
.mask = cp_intc_mask_irq,
.unmask = cp_intc_unmask_irq,
.set_type = cp_intc_set_irq_type,
.set_wake = cp_intc_set_wake,
};

void __init cp_intc_init(void __iomem *base, unsigned short num_irq,
Expand Down

0 comments on commit 3d0babf

Please sign in to comment.