Skip to contentSkip to conversation

ASoC: amd: acp3x-pcm-dma: clean up two indentation issues

PATCH In review Colin King 2 participants 2 messages Mar 27, 2020

Subsystems (4)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 ASoC: amd: acp3x-pcm-dma: clean up two indentation issues

From: Colin Ian King <[email protected]>

There are a couple of statements that are not indented correctly, add in the missing tab and break the lines to address a checkpatch warning.

---
 sound/soc/amd/raven/acp3x-pcm-dma.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
sound/soc/amd/raven/acp3x-pcm-dma.c +2 -1
index d62c0d90c41e..e362f0bc9e46 100644
@@ -458,7 +458,8 @@ static int acp3x_resume(struct device *dev)
 			reg_val = mmACP_I2STDM_ITER;
 			frmt_val = mmACP_I2STDM_TXFRMT;
 		}
-	rv_writel((rtd->xfer_resolution  << 3), rtd->acp3x_base + reg_val);
+		rv_writel((rtd->xfer_resolution  << 3),
+			  rtd->acp3x_base + reg_val);
 	}
 	if (adata->capture_stream && adata->capture_stream->runtime) {
 		struct i2s_stream_instance *rtd @@ -474,7 +475,8 @@ static int acp3x_resume(struct device *dev)

reg_val = mmACP_I2STDM_IRER; frmt_val = mmACP_I2STDM_RXFRMT;
}
- rv_writel((rtd->xfer_resolution << 3), rtd->acp3x_base + reg_val);
+ rv_writel((rtd->xfer_resolution << 3),
+ rtd->acp3x_base + reg_val);
}
if (adata->tdm_mode = TDM_ENABLE) {
rv_writel(adata->tdm_fmt, adata->acp3x_base + frmt_val);

Signature · 1 line
2.25.1
maintainer
#1 lore raw

Applied "ASoC: amd: acp3x-pcm-dma: clean up two indentation issues" to the asoc tree

The patch

ASoC: amd: acp3x-pcm-dma: clean up two indentation issues

has been applied to the asoc tree at

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

From acd4946f5bf031fa38e64bfe2467be94a1b8c25d Mon Sep 17 00:00:00 2001
From: Colin Ian King <[email protected]>
Date: Fri, 27 Mar 2020 14:14:29 +0000
Subject: [PATCH] ASoC: amd: acp3x-pcm-dma: clean up two indentation issues

There are a couple of statements that are not indented correctly, add in the missing tab and break the lines to address a checkpatch warning.

---
 sound/soc/amd/raven/acp3x-pcm-dma.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
sound/soc/amd/raven/acp3x-pcm-dma.c +2 -1
index d62c0d90c41e..e362f0bc9e46 100644
@@ -458,7 +458,8 @@ static int acp3x_resume(struct device *dev)
 			reg_val = mmACP_I2STDM_ITER;
 			frmt_val = mmACP_I2STDM_TXFRMT;
 		}
-	rv_writel((rtd->xfer_resolution  << 3), rtd->acp3x_base + reg_val);
+		rv_writel((rtd->xfer_resolution  << 3),
+			  rtd->acp3x_base + reg_val);
 	}
 	if (adata->capture_stream && adata->capture_stream->runtime) {
 		struct i2s_stream_instance *rtd @@ -474,7 +475,8 @@ static int acp3x_resume(struct device *dev)

reg_val = mmACP_I2STDM_IRER; frmt_val = mmACP_I2STDM_RXFRMT;
}
- rv_writel((rtd->xfer_resolution << 3), rtd->acp3x_base + reg_val);
+ rv_writel((rtd->xfer_resolution << 3),
+ rtd->acp3x_base + reg_val);
}
if (adata->tdm_mode = TDM_ENABLE) {
rv_writel(adata->tdm_fmt, adata->acp3x_base + frmt_val);

Signature · 1 line
2.20.1