]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/pci/au88x0/au88x0_mpu401.c
Pull bugzilla-5653 into release branch
[linux-2.6-omap-h63xx.git] / sound / pci / au88x0 / au88x0_mpu401.c
index 8ba6dd36222b464ce220fc36fe7c9ad02eabd433..873f486b07b88ebaf298bbe1ad9f012eff2ca459 100644 (file)
@@ -95,7 +95,7 @@ static int __devinit snd_vortex_midi(vortex_t * vortex)
                return temp;
        }
 #else
-       port = (unsigned long)(vortex->mmio + (VORTEX_MIDI_DATA >> 2));
+       port = (unsigned long)(vortex->mmio + VORTEX_MIDI_DATA);
        if ((temp =
             snd_mpu401_uart_new(vortex->card, 0, MPU401_HW_AUREAL, port,
                                 1, 0, 0, &rmidi)) != 0) {
@@ -105,7 +105,7 @@ static int __devinit snd_vortex_midi(vortex_t * vortex)
                return temp;
        }
        mpu = rmidi->private_data;
-       mpu->cport = (unsigned long)(vortex->mmio + (VORTEX_MIDI_CMD >> 2));
+       mpu->cport = (unsigned long)(vortex->mmio + VORTEX_MIDI_CMD);
 #endif
        vortex->rmidi = rmidi;
        return 0;