Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 178117
b: refs/heads/master
c: db8cf33
h: refs/heads/master
i:
  178115: 1e41123
v: v3
  • Loading branch information
Krzysztof Helt authored and Takashi Iwai committed Dec 21, 2009
1 parent e0435dc commit 9132f89
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 40962d7c741de1c21b6ce8516c1d9f8836fb383e
refs/heads/master: db8cf334f66bdf1ba2b3d2f7128095fc9b7a6e2b
6 changes: 3 additions & 3 deletions trunk/sound/isa/sb/emu8000.c
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,6 @@ size_dram(struct snd_emu8000 *emu)

while (size < EMU8000_MAX_DRAM) {

size += 512 * 1024; /* increment 512kbytes */

/* Write a unique data on the test address.
* if the address is out of range, the data is written on
* 0x200000(=EMU8000_DRAM_OFFSET). Then the id word is
Expand All @@ -414,7 +412,9 @@ size_dram(struct snd_emu8000 *emu)
/*snd_emu8000_read_wait(emu);*/
EMU8000_SMLD_READ(emu); /* discard stale data */
if (EMU8000_SMLD_READ(emu) != UNIQUE_ID2)
break; /* we must have wrapped around */
break; /* no memory at this address */

size += 512 * 1024; /* increment 512kbytes */

snd_emu8000_read_wait(emu);

Expand Down

0 comments on commit 9132f89

Please sign in to comment.