ALSA: opti92x: use PnP data to select Master Control port
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Wed, 3 Mar 2010 18:41:44 +0000 (19:41 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 3 Mar 2010 21:36:18 +0000 (22:36 +0100)
commitfd8d47351d2e241f3168eeb697ce55cc28c75b78
treebdba27bec2d326277f0454c8cd155f47c03bc069
parent864c11080cf365720103042444534a1e94d42bac
ALSA: opti92x: use PnP data to select Master Control port

The Master Control port (MC) is available as the last
PnP resource (OPT005). Use this value instead fo guessing.

Also, add some comments to the code.

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