ASoC: rsnd: fixup index of src/dst mod when capture
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 11 Jun 2014 06:41:03 +0000 (23:41 -0700)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:15:21 +0000 (11:15 +0100)
commite55d37d30bb0b2bc1b2640372eac1348abb6ef58
treee8fda66d293346b9ad06b1705d14627b31047706
parente6a00210b23350c649966c97c10700a107739e98
ASoC: rsnd: fixup index of src/dst mod when capture

Index of dma name should use -1, not +1 when capture case.
Thank you Dan.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from commit 4cf612780cec81317a0278b28679a8b69ea8f09c)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
sound/soc/sh/rcar/core.c