Skip to content

Commit

Permalink
[ALSA] Remove ENTER_UART from au88x0 init
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alan Horstmann authored and Jaroslav Kysela committed Jun 22, 2006
1 parent faf8d11 commit c77a035
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sound/pci/au88x0/au88x0_mpu401.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ static int __devinit snd_vortex_midi(vortex_t * vortex)
temp |= (MIDI_CLOCK_DIV << 8) | ((mode >> 24) & 0xff) << 4;
hwwrite(vortex->mmio, VORTEX_CTRL2, temp);
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. */
temp = hwread(vortex->mmio, VORTEX_MIDI_DATA);
Expand Down

0 comments on commit c77a035

Please sign in to comment.