ASoC: rsnd: fixup index of src/dst mod when capture
Subsystems (3)
PATCH 1/1 ASoC: rsnd: fixup index of src/dst mod when capture
From: Kuninori Morimoto <[email protected]>
Index of dma name should use -1, not +1 when capture case. Thank you Dan.
Reported-by Dan Carpenter <[email protected]>
Signed-off-by Kuninori Morimoto <[email protected]>
--- sound/soc/sh/rcar/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/sh/rcar/core.c +1 -1
@@ -289,7 +289,7 @@ static void rsnd_dma_of_name(struct rsnd_dma *dma, dst_mod = mod[index]; }else { src_mod = mod[index]; - dst_mod = mod[index +1 ]; + dst_mod = mod[index -1 ]; } index =0 ;
Signature · 1 line
1.7.9.5
Quoted 4 lines · Kuninori Morimoto
From: Kuninori Morimoto <[email protected]>
Index of dma name should use -1, not +1 when capture case. Thank you Dan.
Applied, thanks.