Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98932
b: refs/heads/master
c: 635416e
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Dominik Brodowski committed Jun 24, 2008
1 parent 119daf8 commit adddb41
Show file tree
Hide file tree
Showing 2 changed files with 10 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: 05f43d48ddbda0ce74941aff4711a1829116cc4f
refs/heads/master: 635416ef393e8cec5a89fc6c1de710ee9596a51e
9 changes: 9 additions & 0 deletions trunk/drivers/pcmcia/pcmcia_resource.c
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,15 @@ int pcmcia_request_irq(struct pcmcia_device *p_dev, irq_req_t *req)
type = IRQF_SHARED;

#ifdef CONFIG_PCMCIA_PROBE

#ifdef IRQ_NOAUTOEN
/* if the underlying IRQ infrastructure allows for it, only allocate
* the IRQ, but do not enable it
*/
if (!(req->Attributes & IRQ_HANDLE_PRESENT))
type |= IRQ_NOAUTOEN;
#endif /* IRQ_NOAUTOEN */

if (s->irq.AssignedIRQ != 0) {
/* If the interrupt is already assigned, it must be the same */
irq = s->irq.AssignedIRQ;
Expand Down

0 comments on commit adddb41

Please sign in to comment.