ALSA: riptide - Fix joystick resource handling
authorTakashi Iwai <tiwai@suse.de>
Tue, 26 May 2009 11:55:42 +0000 (13:55 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 26 May 2009 11:55:42 +0000 (13:55 +0200)
commitdb1005ec6ff8f250bccbc87387a955078891bfe4
tree43388819d1477db084eaa7901b74461494b61fa6
parenta693a26fe0807c3c406d6b5295d222b646677288
ALSA: riptide - Fix joystick resource handling

The current code doesn't handle the multiple gameports properly,
and uses unnecessary global static variables to store the data.
This patch changes the probe / remove routines to use the driver
data assigned to the dedicated pci device, and adds the support of
multiple devices.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/riptide/riptide.c