ALSA: opti93x: set MC indirect registers base from PnP data
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Fri, 4 Dec 2009 17:30:18 +0000 (18:30 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 8 Dec 2009 11:22:52 +0000 (12:22 +0100)
commite6960e194a7dfb8197822225e04eca95fbd61a7f
tree8c06707f7c4846fd43978de061a7375105c8fb9a
parent86e1d57e4f24ca27ce813bdc2afaac4adafcbaf4
ALSA: opti93x: set MC indirect registers base from PnP data

The PnP data on the OPTI931 and OPTI933 contains io port
range for the MC indirect registers. Use the PnP range
instead of hardwired value 0xE0E.

Also, request region of MC indirect registers so it is
marked as used to other drivers (this was missing previously).

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/opti9xx/opti92x-ad1848.c