dma: rcar-audmapp: Fix for no corresponding slave ID
authorRyo Kataoka <ryo.kataoka.wt@renesas.com>
Thu, 21 Aug 2014 00:53:03 +0000 (17:53 -0700)
committerVinod Koul <vinod.koul@intel.com>
Thu, 28 Aug 2014 07:12:10 +0000 (12:42 +0530)
commitb19f40b8bf87bfc32b91260a90a7fa2cdebcd9bb
tree330d7c082128195a1447d982ff5a9aad33130515
parent58d06e989e1321b43c1e42bdf3846113e9e16ecd
dma: rcar-audmapp: Fix for no corresponding slave ID

In case of no corresponding slave ID, the audmapp_set_slave() returns
-ENXIO same as sh_dmae_set_slave() of shdmac.c.
DMAEngine might return wrong channel without this patch

Signed-off-by: Ryo Kataoka <ryo.kataoka.wt@renesas.com>
Signed-off-by: Jun Watanabe <jun.watanabe.ue@renesas.com>,
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sh/rcar-audmapp.c