OpenCloudOS-Kernel/sound/soc/sof
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
..
imx ASoC: SOF: imx8: Add ops for i.MX8QM 2020-02-11 11:26:22 +00:00
intel ASoC: SOF: Intel: add min/max channels for SSP on Baytrail/Broadwell 2020-04-17 19:37:15 +01:00
xtensa ASoC: SOF: Intel: add namespace for XTENSA 2019-12-18 20:02:21 +00:00
Kconfig ASoC: SOF: Generic probe compress operations 2020-02-18 21:52:07 +00:00
Makefile ASoC: SOF: Generic probe compress operations 2020-02-18 21:52:07 +00:00
compress.c ASoC: SOF: Intel: Add Probe compress CPU DAIs 2020-02-18 21:52:11 +00:00
compress.h ASoC: SOF: Intel: Add Probe compress CPU DAIs 2020-02-18 21:52:11 +00:00
control.c ASoC: SOF: partition audio-related parts from SOF core 2019-12-09 18:38:57 +00:00
core.c ASoC: SOF: Generic probe compress operations 2020-02-18 21:52:07 +00:00
debug.c ASoC: SOF: Provide probe debugfs support 2020-02-18 21:52:10 +00:00
ipc.c Merge branch 'for-5.6' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.7 2020-03-04 13:38:36 +00:00
loader.c ASoC: SOF: Turn "firmware boot complete" message into a dbg message 2020-04-03 14:39:56 +01:00
nocodec.c ASoC: SOF: nocodec: Amend arguments for sof_nocodec_setup() 2019-12-09 18:40:32 +00:00
ops.c ASoC: SOF: Fix a compile warning with CONFIG_PCI=n 2019-05-07 11:23:57 +09:00
ops.h ASoC: SOF: Generic probe compress operations 2020-02-18 21:52:07 +00:00
pcm.c ASoC: SOF: fix uninitialised "work" with VirtIO 2020-03-26 18:31:14 +00:00
pm.c ASoC: SOF: Move DSP power state transitions to platform-specific ops 2020-02-11 11:48:05 +00:00
probe.c ASoC: SOF: Fix probe point getter 2020-03-10 13:50:59 +00:00
probe.h ASoC: SOF: Implement Probe IPC API 2020-02-18 21:52:06 +00:00
sof-acpi-dev.c ASoC: SOF: move arch_ops under ops 2019-12-18 20:02:02 +00:00
sof-audio.c ASoC: sof: sof-audio: use for_each_pcm_streams() macro 2020-02-18 23:37:12 +00:00
sof-audio.h ASoC: SOF: fix uninitialised "work" with VirtIO 2020-03-26 18:31:14 +00:00
sof-of-dev.c ASoC: SOF: Add i.MX8QM device descriptor 2020-02-11 11:26:40 +00:00
sof-pci-dev.c ASoC: SOF: Intel: add PCI ID for JasperLake 2020-02-02 12:07:18 +00:00
sof-priv.h ASoC: SOF: Intel: remove unnecessary waitq before loading firmware 2020-03-13 15:13:25 +00:00
topology.c ASoC: SOF: fix uninitialised "work" with VirtIO 2020-03-26 18:31:14 +00:00
trace.c ASoC: SOF: trace: fix unconditional free in trace release 2020-01-27 17:52:09 +00:00
utils.c ASoC: SOF: core: modify the signature for snd_sof_create_page_table 2019-12-09 18:38:01 +00:00