ChangeSet 1.2181.25.39, 2005/03/24 11:50:38+01:00, [EMAIL PROTECTED]
[ALSA] Fix Oops with joystick support
YMFPCI driver
Fix Oops when joystick is enabled.
Signed-off-by: Takashi Iwai <[EMAIL PROTECTED]>
ymfpci.c | 1 +
1 files changed, 1 insertion(+)
diff -Nru a/sound/pci/ymfpci/ymfpci.c b/sound/pci/ymfpci/ymfpci.c
--- a/sound/pci/ymfpci/ymfpci.c 2005-03-30 16:18:26 -08:00
+++ b/sound/pci/ymfpci/ymfpci.c 2005-03-30 16:18:26 -08:00
@@ -140,6 +140,7 @@
gameport_set_phys(gp, "pci%s/gameport0", pci_name(chip->pci));
gp->dev.parent = &chip->pci->dev;
gp->io = io_port;
+ gp->port_data = r;
if (chip->pci->device >= 0x0010) /* YMF 744/754 */
pci_write_config_word(chip->pci, PCIR_DSXG_JOYBASE, io_port);
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html