diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2010-03-03 21:41:44 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-03-04 00:36:18 +0300 |
commit | fd8d47351d2e241f3168eeb697ce55cc28c75b78 (patch) | |
tree | bdba27bec2d326277f0454c8cd155f47c03bc069 /sound/isa/opti9xx/miro.c | |
parent | 864c11080cf365720103042444534a1e94d42bac (diff) | |
download | linux-fd8d47351d2e241f3168eeb697ce55cc28c75b78.tar.xz |
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>
Diffstat (limited to 'sound/isa/opti9xx/miro.c')
-rw-r--r-- | sound/isa/opti9xx/miro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/opti9xx/miro.c b/sound/isa/opti9xx/miro.c index b865e45a8f9b..5913717c1be6 100644 --- a/sound/isa/opti9xx/miro.c +++ b/sound/isa/opti9xx/miro.c @@ -1558,7 +1558,7 @@ static int __devinit snd_card_miro_pnp(struct snd_miro *chip, err = pnp_activate_dev(devmc); if (err < 0) { - snd_printk(KERN_ERR "OPL syntg pnp configure failure: %d\n", + snd_printk(KERN_ERR "MC pnp configure failure: %d\n", err); return err; } |