linux/sound/soc/intel
Rander Wang 7cc3b56f73
ASOC: Intel: sof_sdw: restore playback functionality with max98373 amps
The Max98373 amplifier provides I/V feedback information, which keeps
a DAPM path active even when there is no playback happening. This
prevents entry in low-power mode. Rather than adding new controls and
require UCM/user interaction, the method previously applied is to
enable/disable the Speaker pin during the dailink trigger operations.

Recent changes in the SoundWire stream management moved the stream
trigger to the dailink trigger. This change removed the Maxim-specific
pin handling and resulted in a regression. This patch restores
functionality by combining the SoundWire stream trigger with the pin
enable/disable.

Fixes: ae3a3918ed ('ASoC: Intel: sof_sdw: add dailink .trigger callback')
Fixes: 06998d49bc ('ASoC: Intel: sof_sdw: add dailink .prepare and .hw_free callback')
Signed-off-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Keyon Jie <yang.jie@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200923080514.3242858-2-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-09-23 18:13:17 +01:00
..
atom Merge branch 'asoc-5.9' into asoc-5.10 2020-09-17 16:35:38 +01:00
baytrail ASoC: Intel: Baytrail: (cosmetic) align function parameters 2020-08-18 11:50:18 +01:00
boards ASOC: Intel: sof_sdw: restore playback functionality with max98373 amps 2020-09-23 18:13:17 +01:00
common ASoC: Intel: add support for new SoundWire hardware layout on TGL 2020-09-23 18:13:16 +01:00
haswell Merge branch 'asoc-5.9' into asoc-5.10 2020-09-17 16:35:38 +01:00
keembay ASoC: Intel: KeemBay: Fix warning potential ! vs ~ typo 2020-09-07 15:28:57 +01:00
skylake ASoC: hdac: make SOF HDA codec driver probe deterministic 2020-09-21 23:57:24 +01:00
Kconfig ASoC: Intel: use consistent HDAudio spelling in comments/docs 2020-08-25 20:39:39 +01:00
Makefile ASoC: Intel: Add makefiles and kconfig changes for KeemBay 2020-06-15 19:45:35 +01:00