Commit acd4946f authored by Colin Ian King's avatar Colin Ian King Committed by Mark Brown

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.
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20200327141429.269191-1-colin.king@canonical.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent d4061518
...@@ -458,7 +458,8 @@ static int acp3x_resume(struct device *dev) ...@@ -458,7 +458,8 @@ static int acp3x_resume(struct device *dev)
reg_val = mmACP_I2STDM_ITER; reg_val = mmACP_I2STDM_ITER;
frmt_val = mmACP_I2STDM_TXFRMT; 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) { if (adata->capture_stream && adata->capture_stream->runtime) {
struct i2s_stream_instance *rtd = struct i2s_stream_instance *rtd =
...@@ -474,7 +475,8 @@ static int acp3x_resume(struct device *dev) ...@@ -474,7 +475,8 @@ static int acp3x_resume(struct device *dev)
reg_val = mmACP_I2STDM_IRER; reg_val = mmACP_I2STDM_IRER;
frmt_val = mmACP_I2STDM_RXFRMT; 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) { if (adata->tdm_mode == TDM_ENABLE) {
rv_writel(adata->tdm_fmt, adata->acp3x_base + frmt_val); rv_writel(adata->tdm_fmt, adata->acp3x_base + frmt_val);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment