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)
commit83b713619ee1b15e09eae11a92a7f3305534223d
tree0d225d827473960ab7d0e8aaefed42f30580197f
parent6d2608804ebe3516f9dd30c5428b11d9bc121764
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