ASoC: amd: acp: store xfer_resolution of the stream
authorSyed Saba Kareem <Syed.SabaKareem@amd.com>
Mon, 26 Jun 2023 13:55:10 +0000 (19:25 +0530)
committerMark Brown <broonie@kernel.org>
Sun, 9 Jul 2023 21:47:37 +0000 (22:47 +0100)
commitc8786ac7bb374276b1c2b545b4a6be3b230be7cb
tree843a4e47eafb5cbc1e2ccca1e83e0f80b46c1029
parent088a40980efbc2c449b72f0f2c7ebd82f71d08e2
ASoC: amd: acp: store xfer_resolution of the stream

Store the 'xfer_resolution' of the stream in private data structure,
it will be used to reprogram the xfer_resolution for the active stream
during system level resume.

Signed-off-by: Syed Saba Kareem <Syed.SabaKareem@amd.com>
Link: https://lore.kernel.org/r/20230626135515.1252063-7-Syed.SabaKareem@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/acp-i2s.c
sound/soc/amd/acp/amd.h