Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16248
b: refs/heads/master
c: e411580
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Ritz authored and Dominik Brodowski committed Jan 5, 2006
1 parent 00b0714 commit c4a8003
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: 37f779554404ddca981ac4b4cc6692fc09b71e96
refs/heads/master: e4115805cf2020da94e8bd1296243605cda487ff
8 changes: 4 additions & 4 deletions trunk/drivers/pcmcia/yenta_socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,9 @@ static irqreturn_t yenta_interrupt(int irq, void *dev_id, struct pt_regs *regs)

csc = exca_readb(socket, I365_CSC);

if (!(cb_event || csc))
return IRQ_NONE;

events = (cb_event & (CB_CD1EVENT | CB_CD2EVENT)) ? SS_DETECT : 0 ;
events |= (csc & I365_CSC_DETECT) ? SS_DETECT : 0;
if (exca_readb(socket, I365_INTCTL) & I365_PC_IOCARD) {
Expand All @@ -544,10 +547,7 @@ static irqreturn_t yenta_interrupt(int irq, void *dev_id, struct pt_regs *regs)
if (events)
pcmcia_parse_events(&socket->socket, events);

if (cb_event || csc)
return IRQ_HANDLED;

return IRQ_NONE;
return IRQ_HANDLED;
}

static void yenta_interrupt_wrapper(unsigned long data)
Expand Down

0 comments on commit c4a8003

Please sign in to comment.