summaryrefslogtreecommitdiffstats
path: root/kernel/stacktrace.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2018-01-17 06:24:52 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-02-26 07:43:29 -0500
commit648f828c1fd028dc0426dfcbd2c407b412b27691 (patch)
tree398590d0352e41c72338160fa5879c4d41d62630 /kernel/stacktrace.c
parent8a695a6cfabec094bb4281b3d47c2f7d021713c3 (diff)
downloadcachepc-linux-648f828c1fd028dc0426dfcbd2c407b412b27691.tar.gz
cachepc-linux-648f828c1fd028dc0426dfcbd2c407b412b27691.zip
media: rcar_drif: fix error return code in rcar_drif_alloc_dmachannels()
Fix to return error code -ENODEV from the dma_request_slave_channel() error handling case instead of 0, as done elsewhere in this function. rc can be overwrite to 0 by dmaengine_slave_config() in the for loop. Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Ramesh Shanmugasundaram <Ramesh.shanmugasundaram@bp.renesas.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions