Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337019
b: refs/heads/master
c: 2cf4e52
h: refs/heads/master
i:
  337017: 26c62e3
  337015: c54d624
v: v3
  • Loading branch information
Chen Gang authored and Greg Kroah-Hartman committed Nov 27, 2012
1 parent 6e15e68 commit 24bc983
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 8a1861d997d698a120401f3c125085679f729d64
refs/heads/master: 2cf4e52e27dc719941cd3727205ca62b742f2746
5 changes: 4 additions & 1 deletion trunk/drivers/char/hpet.c
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ static unsigned long __hpet_calibrate(struct hpets *hpetp)

static unsigned long hpet_calibrate(struct hpets *hpetp)
{
unsigned long ret = -1;
unsigned long ret = ~0UL;
unsigned long tmp;

/*
Expand Down Expand Up @@ -1001,6 +1001,9 @@ static acpi_status hpet_resources(struct acpi_resource *res, void *data)
irqp = &res->data.extended_irq;

for (i = 0; i < irqp->interrupt_count; i++) {
if (hdp->hd_nirqs >= HPET_MAX_TIMERS)
break;

irq = acpi_register_gsi(NULL, irqp->interrupts[i],
irqp->triggering, irqp->polarity);
if (irq < 0)
Expand Down

0 comments on commit 24bc983

Please sign in to comment.