Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46201
b: refs/heads/master
c: 1499ead
h: refs/heads/master
i:
  46199: f2350a6
v: v3
  • Loading branch information
Alex Dubov authored and Pierre Ossman committed Feb 4, 2007
1 parent 20027bf commit 73860ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 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: 217334d14d28e6a671e6dd2c7a35c9070b0721ea
refs/heads/master: 1499ead31ede528a657c50761c4780c40f929d6d
10 changes: 2 additions & 8 deletions trunk/drivers/misc/tifm_7xx1.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,12 @@

static void tifm_7xx1_eject(struct tifm_adapter *fm, struct tifm_dev *sock)
{
int cnt;
unsigned long flags;

spin_lock_irqsave(&fm->lock, flags);
if (!fm->inhibit_new_cards) {
for (cnt = 0; cnt < fm->max_sockets; cnt++) {
if (fm->sockets[cnt] == sock) {
fm->remove_mask |= (1 << cnt);
queue_work(fm->wq, &fm->media_remover);
break;
}
}
fm->remove_mask |= 1 << sock->socket_id;
queue_work(fm->wq, &fm->media_remover);
}
spin_unlock_irqrestore(&fm->lock, flags);
}
Expand Down

0 comments on commit 73860ea

Please sign in to comment.