Loading drivers/dma/qcom-sps-dma.c +6 −2 Original line number Diff line number Diff line /* * Copyright (c) 2014, The Linux Foundation. All rights reserved. * Copyright (c) 2014-2015, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -575,9 +575,13 @@ static void qbam_issue_pending(struct dma_chan *chan) for_each_sg(qbam_desc->sgl, sg, qbam_desc->sg_len, i) { /* Add BAM flags only on the last buffer */ bool is_last_buf = (i == ((qbam_desc->sg_len) - 1)); ret = sps_transfer_one(qbam_chan->bam_pipe.handle, sg_dma_address(sg), sg_dma_len(sg), qbam_desc, qbam_desc->flags); qbam_desc, (is_last_buf ? qbam_desc->flags : 0)); if (ret < 0) { qbam_chan->error = ret; Loading Loading
drivers/dma/qcom-sps-dma.c +6 −2 Original line number Diff line number Diff line /* * Copyright (c) 2014, The Linux Foundation. All rights reserved. * Copyright (c) 2014-2015, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -575,9 +575,13 @@ static void qbam_issue_pending(struct dma_chan *chan) for_each_sg(qbam_desc->sgl, sg, qbam_desc->sg_len, i) { /* Add BAM flags only on the last buffer */ bool is_last_buf = (i == ((qbam_desc->sg_len) - 1)); ret = sps_transfer_one(qbam_chan->bam_pipe.handle, sg_dma_address(sg), sg_dma_len(sg), qbam_desc, qbam_desc->flags); qbam_desc, (is_last_buf ? qbam_desc->flags : 0)); if (ret < 0) { qbam_chan->error = ret; Loading