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
pdaudiocf
vx
Kconfig -rw-r--r-- 725 bytes
Makefile -rw-r--r-- 118 bytes

back to top