git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.3
[linux-2.6.git]
/
sound
/
pci
/
au88x0
/
au88x0_mpu401.c
diff --git
a/sound/pci/au88x0/au88x0_mpu401.c
b/sound/pci/au88x0/au88x0_mpu401.c
index
3027c35
..
c0c2346
100644
(file)
--- a/
sound/pci/au88x0/au88x0_mpu401.c
+++ b/
sound/pci/au88x0/au88x0_mpu401.c
@@
-104,7
+104,7
@@
static int __devinit snd_vortex_midi(vortex_t * vortex)
~CTRL_MIDI_PORT) & ~CTRL_MIDI_EN);
return temp;
}
~CTRL_MIDI_PORT) & ~CTRL_MIDI_EN);
return temp;
}
- mpu =
snd_magic_cast(mpu401_t, rmidi->private_data, return -ENOMEM)
;
+ mpu =
rmidi->private_data
;
mpu->cport = (unsigned long)(vortex->mmio + (VORTEX_MIDI_CMD >> 2));
#endif
vortex->rmidi = rmidi;
mpu->cport = (unsigned long)(vortex->mmio + (VORTEX_MIDI_CMD >> 2));
#endif
vortex->rmidi = rmidi;