Revision ef4ef49f5d92fe9050b065f7ead913c3ab502300 authored by Matthias Reichl on 23 February 2016, 16:28:23 UTC, committed by popcornmix on 26 February 2016, 14:51:41 UTC
If snd_soc_card.owner is not set the kernel won't do usage refcounting
and one can remove the card driver module while it's in use (eg playback
active) - which leads to a kernel crash.

The missing owner field also prevents ALSA slot ordering
(options snd slots=module-name1,module-name-2,...) from working with
the I2S cards as it has no module name to match against.

Fix these issues by setting the .owner field in the snd_soc_card structs.

Signed-off-by: Matthias Reichl <hias@horus.com>
1 parent cb5a6e2
History
File Mode Size
aoe.txt -rw-r--r-- 5.7 KB
autoload.sh -rw-r--r-- 343 bytes
status.sh -rw-r--r-- 694 bytes
todo.txt -rw-r--r-- 787 bytes
udev-install.sh -rw-r--r-- 852 bytes
udev.txt -rw-r--r-- 1.1 KB

back to top