Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63854
b: refs/heads/master
c: 925796e
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Ritz authored and Linus Torvalds committed Aug 11, 2007
1 parent 12d43ca commit 0a0291c
Show file tree
Hide file tree
Showing 3 changed files with 4 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: c5a69adff920ddf138c3ea9886574b195d9e3d52
refs/heads/master: 925796e0ed6fe529770ba71454c58c8d4d8a5ac4
5 changes: 2 additions & 3 deletions trunk/drivers/char/pcmcia/cm4000_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1629,7 +1629,7 @@ static int cmm_open(struct inode *inode, struct file *filp)
{
struct cm4000_dev *dev;
struct pcmcia_device *link;
int rc, minor = iminor(inode);
int minor = iminor(inode);

if (minor >= CM4000_MAX_DEV)
return -ENODEV;
Expand Down Expand Up @@ -1668,7 +1668,6 @@ static int cmm_open(struct inode *inode, struct file *filp)
start_monitor(dev);

link->open = 1; /* only one open per device */
rc = 0;

DEBUGP(2, dev, "<- cmm_open\n");
return nonseekable_open(inode, filp);
Expand Down Expand Up @@ -1824,7 +1823,7 @@ static int cm4000_resume(struct pcmcia_device *link)

static void cm4000_release(struct pcmcia_device *link)
{
cmm_cm4000_release(link->priv); /* delay release until device closed */
cmm_cm4000_release(link); /* delay release until device closed */
pcmcia_disable_device(link);
}

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/char/pcmcia/cm4040_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ static int reader_config(struct pcmcia_device *link, int devno)

static void reader_release(struct pcmcia_device *link)
{
cm4040_reader_release(link->priv);
cm4040_reader_release(link);
pcmcia_disable_device(link);
}

Expand Down

0 comments on commit 0a0291c

Please sign in to comment.