]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: amd: Removing unnecessary instance initialization
authorRavulapati Vishnu vardhan rao <Vishnuvardhanrao.Ravulapati@amd.com>
Thu, 18 Jun 2020 07:26:10 +0000 (12:56 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 18 Jun 2020 12:14:25 +0000 (13:14 +0100)
commit4c2a84b8bcdeb7d691cb9f23fe32fba2ac855a28
tree7813b067bc09485d527236093cfb260f498d7862
parenta464e7cc4bb63f5277d81a7e7fd32e9fe07ec992
ASoC: amd: Removing unnecessary instance initialization

In trigger we already get the selected instance details
from runtime->private_data.So, removing the local
initialization which may corrupt the instance selected
details and this leads to corrupt data.

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