linux/sound/soc/sof/intel
Pierre-Louis Bossart 8c05246c0b
ASoC: SOF: Intel: add min/max channels for SSP on Baytrail/Broadwell
Major regressions were detected by SOF CI on CherryTrail and Broadwell:

[   25.705750]  SSP2-Codec: ASoC: no backend playback stream
[   27.923378]  SSP2-Codec: ASoC: no users playback at close - state

This is root-caused to the introduction of the DAI capability checks
with snd_soc_dai_stream_valid(). Its use in soc-pcm.c makes it a
requirement for all DAIs to report at least a non-zero min_channels
field.

For some reason the SSP structures used for SKL+ did provide this
information but legacy platforms didn't.

Fixes: 9b5db05936 ("ASoC: soc-pcm: dpcm: Only allow playback/capture if supported")
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200417172014.11760-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-04-17 19:37:15 +01:00
..
apl.c ASoC: SOF: Intel: Probe compress operations 2020-02-18 21:52:09 +00:00
bdw.c ASoC: SOF: Intel: add min/max channels for SSP on Baytrail/Broadwell 2020-04-17 19:37:15 +01:00
byt.c ASoC: SOF: Intel: add min/max channels for SSP on Baytrail/Broadwell 2020-04-17 19:37:15 +01:00
cnl.c ASoC: SOF: Intel: remove unnecessary waitq before loading firmware 2020-03-13 15:13:25 +00:00
hda-bus.c ASoC: SOF: Intel: Add missing include file hdac_hda.h 2019-08-09 13:24:20 +01:00
hda-codec.c ASoC: SOF: Intel: hda: allow operation without i915 gfx 2020-02-20 20:28:45 +00:00
hda-compress.c ASoC: SOF: Intel: Probe compress operations 2020-02-18 21:52:09 +00:00
hda-ctrl.c ASoC: SOF: Intel: hda-ctrl: add reset cycle before parsing capabilities 2020-03-27 15:16:37 +00:00
hda-dai.c ASoC: sof: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI pointer 2020-03-27 14:44:47 +00:00
hda-dsp.c Merge series "ASoC: remove rtd->cpu/codec_dai{s}" from Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>: 2020-03-27 15:33:10 +00:00
hda-ipc.c ASoC: SOF: Intel: remove unnecessary waitq before loading firmware 2020-03-13 15:13:25 +00:00
hda-ipc.h ASoC: SOF: Intel: HDA: add cAVS specific compact IPC header file 2019-10-28 14:43:58 +00:00
hda-loader.c ASoC: SOF: Intel: hda: add WAKEEN interrupt support for SoundWire 2020-03-27 15:16:35 +00:00
hda-pcm.c ASoC: SOF: Intel: Expose SDnFMT helpers 2020-02-18 21:52:08 +00:00
hda-stream.c Merge branch 'for-5.6' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.7 2020-03-13 18:52:23 +00:00
hda-trace.c ASoC: SOF: Intel: Add Intel specific HDA trace operations 2019-04-28 02:51:23 +09:00
hda.c Asoc: SOF: Intel: hda: check SoundWire wakeen interrupt in irq thread 2020-03-27 15:16:36 +00:00
hda.h Asoc: SOF: Intel: hda: check SoundWire wakeen interrupt in irq thread 2020-03-27 15:16:36 +00:00
intel-ipc.c ASoC: SOF: Intel: add module namespace for legacy IPC 2019-12-18 19:50:53 +00:00
Kconfig ASoC: SOF: Intel: hda: remove SND_SOC_SOF_HDA_COMMON_HDMI_CODEC 2020-03-13 15:44:52 +00:00
Makefile ASoC: SOF: Intel: Probe compress operations 2020-02-18 21:52:09 +00:00
shim.h ASoC: SOF: remove references to Haswell 2019-12-18 19:51:40 +00:00