ALSA: Remove warning message for invalid OSS minor ranges
authorTakashi Iwai <tiwai@suse.de>
Mon, 18 Jan 2010 13:16:24 +0000 (14:16 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 18 Jan 2010 13:18:55 +0000 (14:18 +0100)
When a card instance with a higher card number is registered, warning
messages are spewed eventually with stack traces due to the invalid minor
number for OSS device registration.  For example, thinkpad-acpi registers
the card number 29 as default, and you'll see always these messages.
This is rather confusing (and worries users), thus better to return
simply the error code.

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

Simple merge