Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118371
b: refs/heads/master
c: b02555c
h: refs/heads/master
i:
  118369: 49959e0
  118367: 66f667a
v: v3
  • Loading branch information
Zoltan Devai authored and Takashi Iwai committed Nov 3, 2008
1 parent 282b473 commit 539b505
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 219df32faec97349516c29f33008fea59a46e99a
refs/heads/master: b02555c3845f02924b8224ff1fd9a44f2c144dbb
4 changes: 2 additions & 2 deletions trunk/sound/drivers/pcsp/pcsp_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ static void pcspkr_do_sound(unsigned int count)
spin_lock_irqsave(&i8253_lock, flags);

if (count) {
/* enable counter 2 */
outb_p(inb_p(0x61) | 3, 0x61);
/* set command for counter 2, 2 byte write */
outb_p(0xB6, 0x43);
/* select desired HZ */
outb_p(count & 0xff, 0x42);
outb((count >> 8) & 0xff, 0x42);
/* enable counter 2 */
outb_p(inb_p(0x61) | 3, 0x61);
} else {
/* disable counter 2 */
outb(inb_p(0x61) & 0xFC, 0x61);
Expand Down

0 comments on commit 539b505

Please sign in to comment.