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
00-INDEX -rw-r--r-- 458 bytes
README.cycladesZ -rw-r--r-- 293 bytes
driver -rw-r--r-- 13.8 KB
moxa-smartio -rw-r--r-- 20.1 KB
n_gsm.txt -rw-r--r-- 3.1 KB
rocket.txt -rw-r--r-- 7.6 KB
serial-rs485.txt -rw-r--r-- 4.0 KB
tty.txt -rw-r--r-- 10.8 KB

README.cycladesZ

back to top