android_kernel_google_msm/sound
Takashi Iwai de7f6bfbcc ALSA: synth: Fix conflicting OSS device registration on AWE32
commit 225db5762dc1a35b26850477ffa06e5cd0097243 upstream.

When OSS emulation is loaded on ISA SB AWE32 chip, we get now kernel
warnings like:
  WARNING: CPU: 0 PID: 2791 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x51/0x80()
  sysfs: cannot create duplicate filename '/devices/isa/sbawe.0/sound/card0/seq-oss-0-0'

It's because both emux synth and opl3 drivers try to register their
OSS device object with the same static index number 0.  This hasn't
been a big problem until the recent rewrite of device management code
(that exposes sysfs at the same time), but it's been an obvious bug.

This patch works around it just by using a different index number of
emux synth object.  There can be a more elegant way to fix, but it's
enough for now, as this code won't be touched so often, in anyway.

Reported-and-tested-by: Michael Shell <list1@michaelshell.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Zefan Li <lizefan@huawei.com>
2016-04-27 18:55:27 +08:00
..
aoa
arm ASoC: fix broken pxa SoC support 2016-04-27 18:55:20 +08:00
atmel
core ALSA: control: Add sanity checks for user ctl id name string 2015-06-19 11:40:24 +08:00
drivers ALSA: pcsp: Fix the order of input device unregistration 2014-04-14 06:44:31 -07:00
firewire
i2c ALSA: ak411x: Fix stall in work callback 2015-04-14 17:33:59 +08:00
isa ALSA: msnd: Avoid duplicated driver name 2013-11-29 10:50:34 -08:00
mips
oss sound: Fix make allmodconfig on MIPS correctly 2013-08-20 08:26:27 -07:00
parisc
pci ALSA: hda/realtek - Add a fixup for another Acer Aspire 9420 2015-09-18 09:20:44 +08:00
pcmcia
ppc
sh
soc ASoC: fix broken pxa SoC support 2016-04-27 18:55:20 +08:00
sparc
spi
synth ALSA: synth: Fix conflicting OSS device registration on AWE32 2016-04-27 18:55:27 +08:00
usb ALSA: usb-audio: Add a more accurate volume quirk for AudioQuest DragonFly 2016-03-21 09:17:58 +08:00
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c
sound_firmware.c