summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2022-02-17 02:16:04 +0100
committerVinod Koul <vkoul@kernel.org>2022-03-11 07:59:23 +0100
commitfb7a444a5f9056bd138ed6b0cef013eb7826728c (patch)
tree64d4cb7d53dfa36a26eee7df7004c17565f62ec4 /drivers
parentdmaengine: Revert "dmaengine: shdma: Fix runtime PM imbalance on error" (diff)
downloadlinux-fb7a444a5f9056bd138ed6b0cef013eb7826728c.tar.xz
linux-fb7a444a5f9056bd138ed6b0cef013eb7826728c.zip
dmaengine: imx-sdma: clean up some inconsistent indenting
Eliminate the following coccicheck warning: ./drivers/dma/imx-sdma.c:896:3-16: code aligned with following code on line 897 Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Link: https://lore.kernel.org/r/20220217011604.123106-1-yang.lee@linux.alibaba.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/dma/imx-sdma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
index 8cc5103193c3..70c0aa931ddf 100644
--- a/drivers/dma/imx-sdma.c
+++ b/drivers/dma/imx-sdma.c
@@ -892,9 +892,9 @@ static void mxc_sdma_handle_channel_normal(struct sdma_channel *data)
for (i = 0; i < sdmac->desc->num_bd; i++) {
bd = &sdmac->desc->bd[i];
- if (bd->mode.status & (BD_DONE | BD_RROR))
+ if (bd->mode.status & (BD_DONE | BD_RROR))
error = -EIO;
- sdmac->desc->chn_real_count += bd->mode.count;
+ sdmac->desc->chn_real_count += bd->mode.count;
}
if (error)