diff options
author | Sugar Zhang <sugar.zhang@rock-chips.com> | 2019-04-03 16:40:46 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-04-04 11:03:33 +0300 |
commit | fb20de606316a446efdfb0f775a892f782165783 (patch) | |
tree | f4ac3a80e410ea51a7d33363d56a4a524246ee32 /sound/soc/rockchip/rockchip_pdm.c | |
parent | 8a1d95c393d971e624fc28f11516b0bc3a7fa706 (diff) | |
download | linux-fb20de606316a446efdfb0f775a892f782165783.tar.xz |
ASoC: rockchip: pdm: using left justified store mode
This patch set left justified store mode default.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/rockchip/rockchip_pdm.c')
-rw-r--r-- | sound/soc/rockchip/rockchip_pdm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/rockchip/rockchip_pdm.c b/sound/soc/rockchip/rockchip_pdm.c index 400e29edb1c9..ba61a4b27d39 100644 --- a/sound/soc/rockchip/rockchip_pdm.c +++ b/sound/soc/rockchip/rockchip_pdm.c @@ -135,6 +135,7 @@ static int rockchip_pdm_hw_params(struct snd_pcm_substream *substream, regmap_update_bits(pdm->regmap, PDM_HPF_CTRL, PDM_HPF_LE | PDM_HPF_RE, PDM_HPF_LE | PDM_HPF_RE); regmap_update_bits(pdm->regmap, PDM_CLK_CTRL, PDM_CLK_EN, PDM_CLK_EN); + regmap_update_bits(pdm->regmap, PDM_CTRL0, PDM_MODE_MSK, PDM_MODE_LJ); val = 0; switch (params_format(params)) { |