• Takashi Iwai's avatar
    ALSA: msnd: Avoid duplicated driver name · 737d967e
    Takashi Iwai authored
    commit 092f9cd16aac7d054af1755c945f37c1b33399e6 upstream.
    
    msnd_pinnacle.c is used for both snd-msnd-pinnacle and
    snd-msnd-classic drivers, and both should have different driver
    names.  Using the same driver name results in the sysfs warning for
    duplicated entries like
     kobject: 'msnd-pinnacle.7' (cec33408): kobject_release, parent   (null) (delayed)
     kobject: 'msnd-pinnacle' (cecd4980): kobject_release, parent cf3ad9b0 (delayed)
     ------------[ cut here ]------------
     WARNING: CPU: 0 PID: 1 at fs/sysfs/dir.c:486 sysfs_warn_dup+0x7d/0xa0()
     sysfs: cannot create duplicate filename '/bus/isa/drivers/msnd-pinnacle'
     ......
    Reported-by: 's avatarFengguang Wu <fengguang.wu@intel.com>
    Signed-off-by: 's avatarTakashi Iwai <tiwai@suse.de>
    Signed-off-by: 's avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    737d967e
Name
Last commit
Last update
..
ad1816a Loading commit data...
ad1848 Loading commit data...
cs423x Loading commit data...
es1688 Loading commit data...
galaxy Loading commit data...
gus Loading commit data...
msnd Loading commit data...
opti9xx Loading commit data...
sb Loading commit data...
wavefront Loading commit data...
wss Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
adlib.c Loading commit data...
als100.c Loading commit data...
azt2320.c Loading commit data...
cmi8328.c Loading commit data...
cmi8330.c Loading commit data...
es18xx.c Loading commit data...
opl3sa2.c Loading commit data...
sc6000.c Loading commit data...
sscape.c Loading commit data...