Skip to content

Commit fb7a444

Browse files
Yang Livinodkoul
authored andcommitted
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>
1 parent d143f93 commit fb7a444

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/dma/imx-sdma.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -892,9 +892,9 @@ static void mxc_sdma_handle_channel_normal(struct sdma_channel *data)
892892
for (i = 0; i < sdmac->desc->num_bd; i++) {
893893
bd = &sdmac->desc->bd[i];
894894

895-
if (bd->mode.status & (BD_DONE | BD_RROR))
895+
if (bd->mode.status & (BD_DONE | BD_RROR))
896896
error = -EIO;
897-
sdmac->desc->chn_real_count += bd->mode.count;
897+
sdmac->desc->chn_real_count += bd->mode.count;
898898
}
899899

900900
if (error)

0 commit comments

Comments
 (0)