linux/sound/soc/intel/catpt
Cezary Rojewski 1d159edf19
ASoC: Intel: catpt: Wake up device before configuring SSP port
catpt_dai_pcm_new() invoked during new PCM runtime creation configures
SSP by sending IPC to DSP firmware. For that to succeed device needs to
be up and running. While components default probing behavior -
snd_soc_catpt causing machine board module to load just after it - needs
no changes, machine board's module may be unloaded and re-loaded at a
different time e.g.: when catpt is already asleep.

Wake device explicitly in catpt_dai_pcm_new() to ensure communication is
established before sending any IPCs, enabling those advanced scenarios
in the process.

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20201012103221.30759-1-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-10-14 20:29:55 +01:00
..
core.h ASoC: Intel: catpt: Simple sysfs attributes 2020-10-02 15:32:34 +01:00
device.c ASoC: Intel: catpt: Fix compilation when CONFIG_MODULES is disabled 2020-10-08 21:16:48 +01:00
dsp.c ASoC: Intel: catpt: Define DSP operations 2020-10-02 15:32:30 +01:00
ipc.c ASoC: Intel: catpt: Event tracing 2020-10-02 15:32:33 +01:00
loader.c ASoC: Intel: catpt: PCM operations 2020-10-02 15:32:32 +01:00
Makefile ASoC: Intel: Select catpt and deprecate haswell 2020-10-02 15:32:39 +01:00
messages.c ASoC: Intel: catpt: Add IPC message handlers 2020-10-02 15:32:29 +01:00
messages.h ASoC: Intel: catpt: Implement IPC protocol 2020-10-02 15:32:28 +01:00
pcm.c ASoC: Intel: catpt: Wake up device before configuring SSP port 2020-10-14 20:29:55 +01:00
registers.h ASoC: Intel: catpt: Implement IPC protocol 2020-10-02 15:32:28 +01:00
sysfs.c ASoC: Intel: catpt: Simple sysfs attributes 2020-10-02 15:32:34 +01:00
trace.h ASoC: Intel: catpt: Event tracing 2020-10-02 15:32:33 +01:00