[ALSA] Remove ENTER_UART from au88x0 init
Remove an unnecessary ENTER_UART instruction during au88x0 init as it makes the first/subsequent midi open to fail. Signed-off-by: Alan Horstmann <gineera@aspect135.co.uk> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
faf8d11743
commit
c77a03551b
|
@ -70,9 +70,6 @@ static int __devinit snd_vortex_midi(vortex_t * vortex)
|
||||||
temp |= (MIDI_CLOCK_DIV << 8) | ((mode >> 24) & 0xff) << 4;
|
temp |= (MIDI_CLOCK_DIV << 8) | ((mode >> 24) & 0xff) << 4;
|
||||||
hwwrite(vortex->mmio, VORTEX_CTRL2, temp);
|
hwwrite(vortex->mmio, VORTEX_CTRL2, temp);
|
||||||
hwwrite(vortex->mmio, VORTEX_MIDI_CMD, MPU401_RESET);
|
hwwrite(vortex->mmio, VORTEX_MIDI_CMD, MPU401_RESET);
|
||||||
/* Set some kind of mode */
|
|
||||||
if (mode)
|
|
||||||
hwwrite(vortex->mmio, VORTEX_MIDI_CMD, MPU401_ENTER_UART);
|
|
||||||
|
|
||||||
/* Check if anything is OK. */
|
/* Check if anything is OK. */
|
||||||
temp = hwread(vortex->mmio, VORTEX_MIDI_DATA);
|
temp = hwread(vortex->mmio, VORTEX_MIDI_DATA);
|
||||||
|
|
Loading…
Reference in New Issue