summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorJames Courtier-Dutton <James@superbug.co.uk>2005-12-21 15:56:01 +0100
committerJaroslav Kysela <perex@suse.cz>2006-01-03 12:31:05 +0100
commitc6a02ca29388a806df3df73015ee494a6e055309 (patch)
treed63dc0f42022a8e1570e7334c8ff6845bd5ff5fd /sound
parent28bcbdddaffcb2ccf08d06db7cecf047ec66057d (diff)
downloadkernel-common-c6a02ca29388a806df3df73015ee494a6e055309.tar.gz
kernel-common-c6a02ca29388a806df3df73015ee494a6e055309.tar.bz2
kernel-common-c6a02ca29388a806df3df73015ee494a6e055309.zip
[ALSA] snd-emu10k1: Fix whitespace.
Modules: EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/emu10k1/io.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sound/pci/emu10k1/io.c b/sound/pci/emu10k1/io.c
index 08a0cb545822..ef5304df8c11 100644
--- 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;