projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28bcbdd
)
[ALSA] snd-emu10k1: Fix whitespace.
author
James Courtier-Dutton
<James@superbug.co.uk>
Wed, 21 Dec 2005 14:56:01 +0000
(15:56 +0100)
committer
Jaroslav Kysela
<perex@suse.cz>
Tue, 3 Jan 2006 11:31:05 +0000
(12:31 +0100)
Modules: EMU10K1/EMU10K2 driver
Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
sound/pci/emu10k1/io.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/emu10k1/io.c
b/sound/pci/emu10k1/io.c
index 08a0cb545822fb0d4357c1b3886c855e194fad31..ef5304df8c1184a25c5955f94d6c9132e9ddea51 100644
(file)
--- a/
sound/pci/emu10k1/io.c
+++ b/
sound/pci/emu10k1/io.c
@@
-148,15
+148,16
@@
int snd_emu10k1_spi_write(struct snd_emu10k1 * emu,
snd_emu10k1_ptr20_write(emu, reg, 0, set | data);
result = 1;
/* Wait for status bit to return to 0 */
- for (n
=0;n<100;
n++) {
+ for (n
= 0; n < 100;
n++) {
udelay(10);
tmp = snd_emu10k1_ptr20_read(emu, reg, 0);
if (!(tmp & 0x10000)) {
- result
=
0;
+ result
=
0;
break;
}
}
- if (result) return 1; /* Timed out */
+ if (result) /* Timed out */
+ return 1;
snd_emu10k1_ptr20_write(emu, reg, 0, reset | data);
tmp = snd_emu10k1_ptr20_read(emu, reg, 0); /* Write post */
return 0;