• Takashi Iwai's avatar
    sound: Use sound_register_*() for additional OSS minor devices · 848669da
    Takashi Iwai authored
    Since OSS driver creates the device entries for /dev/audio* and
    /dev/dspW* by itself without coping with sound_core, it leads to
    conflicts with others and let sysfs spewing warnings.
    
    This patch rewrites the registration part of OSS driver to use
    the standard method also for additional minor devices.
    
    Reported-by: Steven Rostedt <rostedt@goodmis.org> (with ktest.pl)
    Tested-by: Steven Rostedt <rostedt@goodmis.org> (with ktest.pl)
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    848669da
soundcard.c 16.7 KB