ASoC: Intel: maxim-common: support max98360a
authorBrent Lu <brent.lu@intel.com>
Mon, 12 Jul 2021 20:32:35 +0000 (15:32 -0500)
committerMark Brown <broonie@kernel.org>
Wed, 14 Jul 2021 12:30:35 +0000 (13:30 +0100)
commit07acee589f4293cb0ebd77aa201d616e9a296bb9
tree95631c18416c36c000e8a38e81331d417eda4b40
parent3cb97cf3a65a7fdbf4844ccd39b7e96fe14f762b
ASoC: Intel: maxim-common: support max98360a

Move max98360a code to this common module so it could be shared
between multiple SOF machine drivers. MAX98357A and MAX98360A are
sharing same codec driver so here we also share some function and
structures.

Reviewed-by: Bard Liao <bard.liao@intel.com>
Signed-off-by: Brent Lu <brent.lu@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210712203240.46960-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_maxim_common.c
sound/soc/intel/boards/sof_maxim_common.h