summaryrefslogtreecommitdiff
path: root/sound/soc/sh/rcar/dma.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-04-30 20:08:06 +0300
committerTakashi Iwai <tiwai@suse.de>2015-04-30 20:08:06 +0300
commit0ae3aba2865a5a6f5ee82e9651f0a69daf19d79c (patch)
treeca4884719ad40ba247df7954d8d7cf86b9a01239 /sound/soc/sh/rcar/dma.c
parent7241ea558c6715501e777396b5fc312c372e11d9 (diff)
parentd839c98f98826f0c13e46d5a4cecb46dd357b50e (diff)
downloadlinux-0ae3aba2865a5a6f5ee82e9651f0a69daf19d79c.tar.xz
Merge tag 'asoc-v4.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v4.1 A few fixes for v4.1, none earth shattering and mostly driver related except for one change to fix !PM builds for Intel platforms which is done by adding stubs in the core so other platforms don't run into the same issue.
Diffstat (limited to 'sound/soc/sh/rcar/dma.c')
-rw-r--r--sound/soc/sh/rcar/dma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sh/rcar/dma.c b/sound/soc/sh/rcar/dma.c
index ac3756f6af60..144308f15fb3 100644
--- a/sound/soc/sh/rcar/dma.c
+++ b/sound/soc/sh/rcar/dma.c
@@ -156,6 +156,7 @@ static int rsnd_dmaen_init(struct rsnd_priv *priv, struct rsnd_dma *dma, int id,
(void *)id);
}
if (IS_ERR_OR_NULL(dmaen->chan)) {
+ dmaen->chan = NULL;
dev_err(dev, "can't get dma channel\n");
goto rsnd_dma_channel_err;
}