This patch series to refactor acp leagacy driver and add pm ops support for rembrandt platforms. Changes since V1 - Fix below kernel test robot errors and warnings - ld.lld: error: undefined symbol: acp_enable_interrupts - referenced by acp-renoir.c:191 (sound/soc/amd/acp/acp-renoir.c:191) - ld.lld: error: undefined symbol: acp_disable_interrupts - sound/soc/amd/acp/acp-renoir.o:(renoir_audio_remove) in archive vmlinux.a - All warnings (new ones prefixed by >>): - sound/soc/amd/acp/acp-rembrandt.c:169:5: warning: no previous - prototype for 'acp6x_master_clock_generate' [-Wmissing-prototypes] - 169 | int acp6x_master_clock_generate(struct device *dev) Syed Saba Kareem (10): ASoC: amd: acp: refactor the acp init and de-init sequence ASoC: amd: acp: add acp i2s master clock generation for rembrandt platform ASoC: amd: acp: remove the redundant acp enable/disable interrupts functions ASoC: amd: acp: store platform device reference created in pci probe call ASoC: amd: acp: add pm ops support for acp pci driver ASoC: amd: acp: store xfer_resolution of the stream ASoC: amd: acp: export config_acp_dma() and config_pte_for_stream() symbols ASoC: amd: acp: store the pdm stream channel mask ASoC: amd: acp: move pdm macros to common header file ASoC: amd: acp: add pm ops support for rembrandt platform sound/soc/amd/acp/Kconfig | 5 + sound/soc/amd/acp/Makefile | 2 + sound/soc/amd/acp/acp-i2s.c | 2 + sound/soc/amd/acp/acp-legacy-common.c | 347 ++++++++++++++++++++++++++ sound/soc/amd/acp/acp-pci.c | 57 ++++- sound/soc/amd/acp/acp-pdm.c | 13 +- sound/soc/amd/acp/acp-platform.c | 6 +- sound/soc/amd/acp/acp-rembrandt.c | 186 +++++--------- sound/soc/amd/acp/acp-renoir.c | 115 +-------- sound/soc/amd/acp/amd.h | 51 ++++ 10 files changed, 531 insertions(+), 253 deletions(-) create mode 100644 sound/soc/amd/acp/acp-legacy-common.c -- 2.25.1