spi: imx: style fixes
This change fixes some random style issues that I noticed while debugging the driver: Remove some double spaces, use tabs for indention instead of spaces if possible, fix comment style. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
00b80ac935
commit
30d6714223
@ -726,8 +726,10 @@ static int mx31_config(struct spi_device *spi)
|
|||||||
writel(reg, spi_imx->base + MX31_CSPI_TESTREG);
|
writel(reg, spi_imx->base + MX31_CSPI_TESTREG);
|
||||||
|
|
||||||
if (spi_imx->usedma) {
|
if (spi_imx->usedma) {
|
||||||
/* configure DMA requests when RXFIFO is half full and
|
/*
|
||||||
when TXFIFO is half empty */
|
* configure DMA requests when RXFIFO is half full and
|
||||||
|
* when TXFIFO is half empty
|
||||||
|
*/
|
||||||
writel(MX31_DMAREG_RH_DEN | MX31_DMAREG_TH_DEN,
|
writel(MX31_DMAREG_RH_DEN | MX31_DMAREG_TH_DEN,
|
||||||
spi_imx->base + MX31_CSPI_DMAREG);
|
spi_imx->base + MX31_CSPI_DMAREG);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user