linux/sound/i2c
Hans de Goede 5daf53a6eb [media] snd_tea575x: Make the module using snd_tea575x the fops owner
Before this patch the owner field of the /dev/radio# device fops was set to
the snd-tea575x-tuner module itself. Meaning that the module which was using
it could be rmmod-ed while the device is open, and then BAD things happen.

I know, as I found out the hard way :)

Note that there is no need to also somehow increase the refcount of the
snd-tea575x-tuner module itself, since any drivers using it will have
symbolic references to it.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
CC: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-06-11 16:02:54 -03:00
..
other [media] snd_tea575x: Make the module using snd_tea575x the fops owner 2012-06-11 16:02:54 -03:00
cs8427.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
i2c.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
Makefile ALSA: drop outdated and broken sa11xx-uda1341 driver 2009-03-17 17:58:13 +01:00
tea6330t.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00