ASoC: Intel: sdw_max98373: add card_late_probe support
authorranderwang <rander.wang@linux.intel.com>
Wed, 8 Jul 2020 20:32:15 +0000 (15:32 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 9 Jul 2020 20:01:28 +0000 (21:01 +0100)
commitbe3afa120c5f8131ff835a270247b0a9cca0138a
tree27fb7116dd5ce475c66e1a9ebd0e5249b2f7be81
parentcb468cd5b9e1e1337fe4e9a3255892760d5c83ad
ASoC: Intel: sdw_max98373: add card_late_probe support

Disable Left and Right Spk pin after boot so that sof can get
suspended.

This follows the same logic added to another machine driver with
commit 94d2d0897474 ("ASoC: Intel: Boards: tgl_max98373: add dai_trigger function")

Signed-off-by: randerwang <rander.wang@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20200708203215.231776-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_sdw.c
sound/soc/intel/boards/sof_sdw_common.h
sound/soc/intel/boards/sof_sdw_max98373.c