Commit acc8b9d1 authored by Sugar Zhang's avatar Sugar Zhang Committed by Mark Brown

ASoC: rockchip: spdif: Fix some coding style

This patch fix some coding style.
Signed-off-by: default avatarSugar Zhang <sugar.zhang@rock-chips.com>
Link: https://lore.kernel.org/r/1629800162-12824-3-git-send-email-sugar.zhang@rock-chips.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 023a3f3a
...@@ -137,9 +137,9 @@ static int rk_spdif_hw_params(struct snd_pcm_substream *substream, ...@@ -137,9 +137,9 @@ static int rk_spdif_hw_params(struct snd_pcm_substream *substream,
} }
ret = regmap_update_bits(spdif->regmap, SPDIF_CFGR, ret = regmap_update_bits(spdif->regmap, SPDIF_CFGR,
SPDIF_CFGR_CLK_DIV_MASK | SPDIF_CFGR_HALFWORD_ENABLE | SPDIF_CFGR_CLK_DIV_MASK |
SDPIF_CFGR_VDW_MASK, SPDIF_CFGR_HALFWORD_ENABLE |
val); SDPIF_CFGR_VDW_MASK, val);
return ret; return ret;
} }
...@@ -293,7 +293,7 @@ static int rk_spdif_probe(struct platform_device *pdev) ...@@ -293,7 +293,7 @@ static int rk_spdif_probe(struct platform_device *pdev)
grf = syscon_regmap_lookup_by_phandle(np, "rockchip,grf"); grf = syscon_regmap_lookup_by_phandle(np, "rockchip,grf");
if (IS_ERR(grf)) { if (IS_ERR(grf)) {
dev_err(&pdev->dev, dev_err(&pdev->dev,
"rockchip_spdif missing 'rockchip,grf' \n"); "rockchip_spdif missing 'rockchip,grf'\n");
return PTR_ERR(grf); return PTR_ERR(grf);
} }
......
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