ASoC: rsnd: fixup rsnd_dmapp_stop() return value

45a4394d03("ASoC: rsnd: use mod base common method on DMA phase3")
Exchanged "void rsnd_dmapp_stop()" to "int rsnd_dmapp_stop()",
but it returns inverted value. This patch fixup it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Kuninori Morimoto 2015-10-28 04:31:03 +00:00 committed by Mark Brown
parent f36a82264d
commit 9c66eedc17
1 changed files with 2 additions and 2 deletions

View File

@ -368,11 +368,11 @@ static int rsnd_dmapp_stop(struct rsnd_mod *mod,
for (i = 0; i < 1024; i++) {
if (0 == rsnd_dmapp_read(dma, PDMACHCR))
return -EIO;
return 0;
udelay(1);
}
return 0;
return -EIO;
}
static int rsnd_dmapp_start(struct rsnd_mod *mod,