staging: mt7621-dma: fix alignment warnings
Fix the checkpatch warning of alignment should match open parenthesis for some dev_dbg() calls Signed-off-by: Siddhant Gupta <siddhantgupta416@gmail.com> Link: https://lore.kernel.org/r/20201106082226.GA22990@Sleakybeast Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
99c1fdae1a
commit
773cfe0684
|
@ -208,24 +208,24 @@ static void mtk_hsdma_reset_chan(struct mtk_hsdam_engine *hsdma,
|
|||
|
||||
static void hsdma_dump_reg(struct mtk_hsdam_engine *hsdma)
|
||||
{
|
||||
dev_dbg(hsdma->ddev.dev, "tbase %08x, tcnt %08x, "
|
||||
"tctx %08x, tdtx: %08x, rbase %08x, "
|
||||
"rcnt %08x, rctx %08x, rdtx %08x\n",
|
||||
mtk_hsdma_read(hsdma, HSDMA_REG_TX_BASE),
|
||||
mtk_hsdma_read(hsdma, HSDMA_REG_TX_CNT),
|
||||
mtk_hsdma_read(hsdma, HSDMA_REG_TX_CTX),
|
||||
mtk_hsdma_read(hsdma, HSDMA_REG_TX_DTX),
|
||||
mtk_hsdma_read(hsdma, HSDMA_REG_RX_BASE),
|
||||
mtk_hsdma_read(hsdma, HSDMA_REG_RX_CNT),
|
||||
mtk_hsdma_read(hsdma, HSDMA_REG_RX_CRX),
|
||||
mtk_hsdma_read(hsdma, HSDMA_REG_RX_DRX));
|
||||
dev_dbg(hsdma->ddev.dev,
|
||||
"tbase %08x, tcnt %08x, tctx %08x, tdtx: %08x, rbase %08x, rcnt %08x, rctx %08x, rdtx %08x\n",
|
||||
mtk_hsdma_read(hsdma, HSDMA_REG_TX_BASE),
|
||||
mtk_hsdma_read(hsdma, HSDMA_REG_TX_CNT),
|
||||
mtk_hsdma_read(hsdma, HSDMA_REG_TX_CTX),
|
||||
mtk_hsdma_read(hsdma, HSDMA_REG_TX_DTX),
|
||||
mtk_hsdma_read(hsdma, HSDMA_REG_RX_BASE),
|
||||
mtk_hsdma_read(hsdma, HSDMA_REG_RX_CNT),
|
||||
mtk_hsdma_read(hsdma, HSDMA_REG_RX_CRX),
|
||||
mtk_hsdma_read(hsdma, HSDMA_REG_RX_DRX));
|
||||
|
||||
dev_dbg(hsdma->ddev.dev, "info %08x, glo %08x, delay %08x, intr_stat %08x, intr_mask %08x\n",
|
||||
mtk_hsdma_read(hsdma, HSDMA_REG_INFO),
|
||||
mtk_hsdma_read(hsdma, HSDMA_REG_GLO_CFG),
|
||||
mtk_hsdma_read(hsdma, HSDMA_REG_DELAY_INT),
|
||||
mtk_hsdma_read(hsdma, HSDMA_REG_INT_STATUS),
|
||||
mtk_hsdma_read(hsdma, HSDMA_REG_INT_MASK));
|
||||
dev_dbg(hsdma->ddev.dev,
|
||||
"info %08x, glo %08x, delay %08x, intr_stat %08x, intr_mask %08x\n",
|
||||
mtk_hsdma_read(hsdma, HSDMA_REG_INFO),
|
||||
mtk_hsdma_read(hsdma, HSDMA_REG_GLO_CFG),
|
||||
mtk_hsdma_read(hsdma, HSDMA_REG_DELAY_INT),
|
||||
mtk_hsdma_read(hsdma, HSDMA_REG_INT_STATUS),
|
||||
mtk_hsdma_read(hsdma, HSDMA_REG_INT_MASK));
|
||||
}
|
||||
|
||||
static void hsdma_dump_desc(struct mtk_hsdam_engine *hsdma,
|
||||
|
@ -242,10 +242,10 @@ static void hsdma_dump_desc(struct mtk_hsdam_engine *hsdma,
|
|||
tx_desc = &chan->tx_ring[i];
|
||||
rx_desc = &chan->rx_ring[i];
|
||||
|
||||
dev_dbg(hsdma->ddev.dev, "%d tx addr0: %08x, flags %08x, "
|
||||
"tx addr1: %08x, rx addr0 %08x, flags %08x\n",
|
||||
i, tx_desc->addr0, tx_desc->flags,
|
||||
tx_desc->addr1, rx_desc->addr0, rx_desc->flags);
|
||||
dev_dbg(hsdma->ddev.dev,
|
||||
"%d tx addr0: %08x, flags %08x, tx addr1: %08x, rx addr0 %08x, flags %08x\n",
|
||||
i, tx_desc->addr0, tx_desc->flags,
|
||||
tx_desc->addr1, rx_desc->addr0, rx_desc->flags);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue