ASoC: Intel: sof_sdw: use common helpers for all Realtek amps
authorGongjun Song <gongjun.song@intel.com>
Tue, 6 Dec 2022 21:25:06 +0000 (15:25 -0600)
committerMark Brown <broonie@kernel.org>
Wed, 7 Dec 2022 14:19:08 +0000 (14:19 +0000)
commit5c10da436ebd93f9bfa244ea933773d14b566499
tree2e7f62ef2bcf94de389bf0245627a625bb06abd0
parentc0660fce5e0672b9fcffaae02184d58c8ed2aec1
ASoC: Intel: sof_sdw: use common helpers for all Realtek amps

sof_sdw_rt1308.c/sof_sdw_rt1316.c/sof_sdw_rt1318.c handle amp
in basically the same way, optimized and merged into one file.

Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Gongjun Song <gongjun.song@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20221206212507.359993-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/Makefile
sound/soc/intel/boards/sof_sdw.c
sound/soc/intel/boards/sof_sdw_common.h
sound/soc/intel/boards/sof_sdw_rt1316.c [deleted file]
sound/soc/intel/boards/sof_sdw_rt1318.c [deleted file]
sound/soc/intel/boards/sof_sdw_rt_amp.c [moved from sound/soc/intel/boards/sof_sdw_rt1308.c with 59% similarity]