mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 09:59:32 +00:00
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>
This commit is contained in:
parent
d143f939a9
commit
fb7a444a5f
1 changed files with 2 additions and 2 deletions
|
@ -892,9 +892,9 @@ static void mxc_sdma_handle_channel_normal(struct sdma_channel *data)
|
||||||
for (i = 0; i < sdmac->desc->num_bd; i++) {
|
for (i = 0; i < sdmac->desc->num_bd; i++) {
|
||||||
bd = &sdmac->desc->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;
|
error = -EIO;
|
||||||
sdmac->desc->chn_real_count += bd->mode.count;
|
sdmac->desc->chn_real_count += bd->mode.count;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (error)
|
if (error)
|
||||||
|
|
Loading…
Reference in a new issue