[alsa-devel] Question about "trigger"

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Apr 11 15:50:49 CEST 2011

On Fri, Apr 08, 2011 at 04:43:22PM +0900, Kuninori Morimoto wrote:

> # insmod snd-soc-ak4642.ko
> # insmod snd-soc-fsi-ak4642.ko
> #
> # aplay sound.wav
> # rmmod snd-soc-fsi-ak4642.ko

> I guess noone call soc_pcm_trigger(xx, STOP);
> who should control it ?

I wouldn't 100% rely on that being the case - if the driver is forcibly
removing itself from underneath the subsystem then it's not clear if
this is a useful thing to try to do.  I'd expect that this is something
the ALSA core should do if required.

More information about the Alsa-devel mailing list