[alsa-devel] [PATCH v3] ASoC: rt5514: add rt5514 SPI driver

Mark Brown broonie at kernel.org
Fri May 13 14:19:32 CEST 2016


On Mon, May 09, 2016 at 06:30:55PM +0800, Oder Chiou wrote:

> +static void rt5514_spi_copy_work(struct work_struct *work)
> +{
> +	struct rt5514_dsp *rt5514_dsp =
> +		container_of(work, struct rt5514_dsp, copy_work.work);
> +	struct snd_pcm_runtime *runtime = rt5514_dsp->substream->runtime;
> +	size_t period_bytes, truncated_bytes = 0;

I can't see anything that cancels this work when the PCM stream to
userspace is stopped or if things power off otherwise?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20160513/8b454a4b/attachment.sig>


More information about the Alsa-devel mailing list