[alsa-devel] [PATCH] ASoC: txx9: Added blank line after declarations
Codrut Grosu
codrut.cristian.grosu at gmail.com
Sat Feb 25 20:17:53 CET 2017
This was reported by checkpatch.pl
Signed-off-by: Codrut GROSU <codrut.cristian.grosu at 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
More information about the Alsa-devel
mailing list