Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 355306
b: refs/heads/master
c: b4a343e
h: refs/heads/master
v: v3
  • Loading branch information
Heiko Stuebner authored and Kukjin Kim committed Feb 3, 2013
1 parent 4d10de2 commit b8fbe4f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d8fdec168542971f6ffbf0883c8be2e9bbb22ca6
refs/heads/master: b4a343e5b333ca02f7731c824b600fe64d8ce28c
8 changes: 4 additions & 4 deletions trunk/arch/arm/mach-s3c24xx/irq-pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,18 @@
* set bit to 1 in allow bitfield to enable the wakeup settings on it
*/

unsigned long s3c_irqwake_intallow = 1L << (IRQ_RTC - IRQ_EINT0) | 0xfL;
unsigned long s3c_irqwake_intallow = 1L << 30 | 0xfL;
unsigned long s3c_irqwake_eintallow = 0x0000fff0L;

int s3c_irq_wake(struct irq_data *data, unsigned int state)
{
unsigned long irqbit = 1 << (data->irq - IRQ_EINT0);
unsigned long irqbit = 1 << data->hwirq;

if (!(s3c_irqwake_intallow & irqbit))
return -ENOENT;

printk(KERN_INFO "wake %s for irq %d\n",
state ? "enabled" : "disabled", data->irq);
pr_info("wake %s for hwirq %lu\n",
state ? "enabled" : "disabled", data->hwirq);

if (!state)
s3c_irqwake_intmask |= irqbit;
Expand Down

0 comments on commit b8fbe4f

Please sign in to comment.