]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: AMD: Clear format bits before setting them
authorAkshu Agrawal <akshu.agrawal@amd.com>
Sat, 28 Mar 2020 09:39:16 +0000 (03:39 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 30 Mar 2020 14:32:35 +0000 (15:32 +0100)
commita91ab6509cd382dae4b7953155f47f276ff0d22f
tree474a0452a541e3ad75f88c2750066462f62eea2a
parent76385a665ff5cfdf0a6dda43ec9bce7e7d5387d3
ASoC: AMD: Clear format bits before setting them

This avoids residual bit form previous format when the format is changed.
Hence, the resultant format is not an invalid one.

Signed-off-by: Akshu Agrawal <akshu.agrawal@amd.com>
Signed-off-by: Ravulapati Vishnu vardhan rao <Vishnuvardhanrao.Ravulapati@amd.com>
Link: https://lore.kernel.org/r/20200328093921.32211-1-akshu.agrawal@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/raven/acp3x-i2s.c
sound/soc/amd/raven/acp3x.h