25 Feb
2017
25 Feb
'17
8:17 p.m.
This was reported by checkpatch.pl
Signed-off-by: Codrut GROSU codrut.cristian.grosu@gmail.com --- sound/soc/txx9/txx9aclc.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/sound/soc/txx9/txx9aclc.c b/sound/soc/txx9/txx9aclc.c index 98fb989..7912bf0 100644 --- a/sound/soc/txx9/txx9aclc.c +++ b/sound/soc/txx9/txx9aclc.c @@ -392,6 +392,7 @@ static int txx9aclc_pcm_remove(struct snd_soc_platform *platform) for (i = 0; i < 2; i++) { struct txx9aclc_dmadata *dmadata = &dev->dmadata[i]; struct dma_chan *chan = dmadata->dma_chan; + if (chan) { dmadata->frag_count = -1; dmaengine_terminate_all(chan); 1.9.1