Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 60881
b: refs/heads/master
c: b306122
h: refs/heads/master
i:
  60879: 72a93c8
v: v3
  • Loading branch information
Ingo Korb authored and Linus Torvalds committed Jul 17, 2007
1 parent aa3ef10 commit 99ad043
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 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: 186797ce330867b4c3609e503d2fee2fc6940954
refs/heads/master: b306122df9f9dbec7751133073b4d19b9197d22e
9 changes: 2 additions & 7 deletions trunk/drivers/char/istallion.c
Original file line number Diff line number Diff line change
Expand Up @@ -2163,14 +2163,10 @@ static void __stli_sendcmd(struct stlibrd *brdp, struct stliport *portp, unsigne
cdkhdr_t __iomem *hdrp;
cdkctrl_t __iomem *cp;
unsigned char __iomem *bits;
unsigned long flags;

spin_lock_irqsave(&brd_lock, flags);

if (test_bit(ST_CMDING, &portp->state)) {
printk(KERN_ERR "STALLION: command already busy, cmd=%x!\n",
(int) cmd);
spin_unlock_irqrestore(&brd_lock, flags);
return;
}

Expand All @@ -2191,7 +2187,6 @@ static void __stli_sendcmd(struct stlibrd *brdp, struct stliport *portp, unsigne
writeb(readb(bits) | portp->portbit, bits);
set_bit(ST_CMDING, &portp->state);
EBRDDISABLE(brdp);
spin_unlock_irqrestore(&brd_lock, flags);
}

static void stli_sendcmd(struct stlibrd *brdp, struct stliport *portp, unsigned long cmd, void *arg, int size, int copyback)
Expand Down Expand Up @@ -3215,13 +3210,13 @@ static int stli_initecp(struct stlibrd *brdp)
goto err;
}

brdp->iosize = ECP_IOSIZE;

if (!request_region(brdp->iobase, brdp->iosize, "istallion")) {
retval = -EIO;
goto err;
}

brdp->iosize = ECP_IOSIZE;

/*
* Based on the specific board type setup the common vars to access
* and enable shared memory. Set all board specific information now
Expand Down

0 comments on commit 99ad043

Please sign in to comment.