]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: amd: vg: fix for pm resume callback sequence
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>
Fri, 25 Feb 2022 19:30:22 +0000 (01:00 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 28 Feb 2022 13:33:47 +0000 (13:33 +0000)
commitdfc19fc3f3e19e7103ea989c1cd9aa9d424bab25
tree0d225d827473960ab7d0e8aaefed42f30580197f
parentf4959c1c3da99240da04600e708a071f821071f6
ASoC: amd: vg: fix for pm resume callback sequence

The previous condition is used to cross check only the active
stream status for I2S HS instance playback and capture use cases.

Modified logic to invoke sequence for two i2s controller instances.

This also fixes warnings reported by kernel robot:
"warning: variable 'frmt_val' set but not used"
"warning: variable 'reg_val' set but not used"

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/20220225193054.24916-1-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/vangogh/acp5x-pcm-dma.c