Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22800
b: refs/heads/master
c: c5c079e
h: refs/heads/master
v: v3
  • Loading branch information
Sergei Shtylyov authored and Jaroslav Kysela committed Mar 22, 2006
1 parent f35014f commit 4c1c736
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: bb160b850d7e285f8b15906d9c0d1916acfdb953
refs/heads/master: c5c079e31cba3e6f93ef098911e216b79d0a84e8
7 changes: 4 additions & 3 deletions trunk/sound/mips/au1x00.c
Original file line number Diff line number Diff line change
Expand Up @@ -561,12 +561,13 @@ snd_au1000_ac97_new(struct snd_au1000 *au1000)
.read = snd_au1000_ac97_read,
};

if ((au1000->ac97_res_port = request_region(AC97C_CONFIG,
sizeof(struct au1000_ac97_reg), "Au1x00 AC97")) == NULL) {
if ((au1000->ac97_res_port = request_mem_region(CPHYSADDR(AC97C_CONFIG),
0x100000, "Au1x00 AC97")) == NULL) {
snd_printk(KERN_ERR "ALSA AC97: can't grap AC97 port\n");
return -EBUSY;
}
au1000->ac97_ioport = (struct au1000_ac97_reg *) au1000->ac97_res_port->start;
au1000->ac97_ioport = (struct au1000_ac97_reg *)
KSEG1ADDR(au1000->ac97_res_port->start);

spin_lock_init(&au1000->ac97_lock);

Expand Down

0 comments on commit 4c1c736

Please sign in to comment.