Commit 28bcbddd authored by James Courtier-Dutton's avatar James Courtier-Dutton Committed by Jaroslav Kysela

[ALSA] snd-emu10k1: Fix whitespace.

Modules: EMU10K1/EMU10K2 driver
Signed-off-by: default avatarJames Courtier-Dutton <James@superbug.co.uk>
parent ccadc3e3
...@@ -130,12 +130,15 @@ int snd_emu10k1_spi_write(struct snd_emu10k1 * emu, ...@@ -130,12 +130,15 @@ int snd_emu10k1_spi_write(struct snd_emu10k1 * emu,
unsigned int reset, set; unsigned int reset, set;
unsigned int reg, tmp; unsigned int reg, tmp;
int n, result; int n, result;
if (emu->card_capabilities->ca0108_chip) { if (emu->card_capabilities->ca0108_chip)
reg=0x3c; /* PTR20, reg 0x3c */ reg = 0x3c; /* PTR20, reg 0x3c */
} else { else {
return 1; /* For other cards types the SPI register is currently unknown. */ /* For other chip types the SPI register
* is currently unknown. */
return 1;
} }
if (data > 0xffff) return 1; /* Only 16bit values allowed */ if (data > 0xffff) /* Only 16bit values allowed */
return 1;
tmp = snd_emu10k1_ptr20_read(emu, reg, 0); tmp = snd_emu10k1_ptr20_read(emu, reg, 0);
reset = (tmp & ~0x3ffff) | 0x20000; /* Set xxx20000 */ reset = (tmp & ~0x3ffff) | 0x20000; /* Set xxx20000 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment