No description
Find a file
Kai Vehmanen 36e19f7a52 ALSA: hda/hdmi: fix warning about PCM count when used with SOF
[ Upstream commit c74193787b ]

With commit 13046370c4 ("ALSA: hda/hdmi: let new platforms assign the
pcm slot dynamically"), old behaviour to consider the HDA pin number,
when choosing PCM to assign, was dropped.

Build on this change and limit the number of PCMs created to number of
converters (= maximum number of concurrent display/receivers) when
"mst_no_extra_pcms" and "dyn_pcm_no_legacy" quirks are both set.

Fix the check in hdmi_find_pcm_slot() to ensure only spec->pcm_used
entries are considered in the search. Elsewhere in the driver
spec->pcm_used is already checked properly.

Doing this avoids following warning at SOF driver probe for multiple
machine drivers:

[  112.425297] sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no
PCM in topology for HDMI converter 4
[  112.425298] sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no
PCM in topology for HDMI converter 5
[  112.425299] sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no
PCM in topology for HDMI converter 6

Fixes: 13046370c4 ("ALSA: hda/hdmi: let new platforms assign the pcm slot dynamically")
BugLink: https://github.com/thesofproject/linux/issues/2573
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20220414150516.3638283-1-kai.vehmanen@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-19 17:48:10 +08:00
arch arm64/mm: drop HAVE_ARCH_PFN_VALID 2023-04-19 17:48:08 +08:00
block block: simplify the block device syncing code 2023-04-19 17:48:07 +08:00
certs certs: Add support for using elliptic curve keys for signing modules 2021-08-23 19:55:42 +03:00
crypto crypto: xts - Add softdep on ecb 2023-04-19 17:47:16 +08:00
Documentation dt-bindings: net: snps: remove duplicate name 2023-04-19 17:48:06 +08:00
drivers igc: Fix suspending when PTM is active 2023-04-19 17:48:10 +08:00
fs gfs2: assign rgrp glock before compute_bitstructs 2023-04-19 17:48:08 +08:00
include esp: limit skb_page_frag_refill use to a single page 2023-04-19 17:48:09 +08:00
init init/main.c: return 1 from handled __setup() functions 2023-04-19 17:47:40 +08:00
ipc ipc/sem: do not sleep with a spin lock held 2023-04-19 17:45:01 +08:00
kernel dma-mapping: remove bogus test for pfn_valid from dma_map_resource 2023-04-19 17:48:08 +08:00
lib stacktrace: move filter_irq_stacks() to kernel/stacktrace.c 2023-04-19 17:47:53 +08:00
LICENSES LICENSES/dual/CC-BY-4.0: Git rid of "smart quotes" 2021-07-15 06:31:24 -06:00
mm mm, kfence: support kmem_dump_obj() for KFENCE objects 2023-04-19 17:48:08 +08:00
net esp: limit skb_page_frag_refill use to a single page 2023-04-19 17:48:09 +08:00
samples samples/bpf, xdpsock: Fix race when running for fix duration of time 2023-04-19 17:47:05 +08:00
scripts gcc-plugins: latent_entropy: use /dev/urandom 2023-04-19 17:48:04 +08:00
security Fix incorrect type in assignment of ipv6 port for audit 2023-04-19 17:47:16 +08:00
sound ALSA: hda/hdmi: fix warning about PCM count when used with SOF 2023-04-19 17:48:10 +08:00
tools perf tools: Fix segfault accessing sample_id xyarray 2023-04-19 17:48:08 +08:00
usr usr/include/Makefile: add linux/nfc.h to the compile-test coverage 2023-04-19 17:44:58 +08:00
virt KVM: avoid NULL pointer dereference in kvm_dirty_ring_push 2023-04-19 17:47:52 +08:00
.clang-format clang-format: Update with the latest for_each macro list 2021-05-12 23:32:39 +02:00
.cocciconfig
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl 2019-05-16 10:53:40 -07:00
.gitattributes .gitattributes: use 'dts' diff driver for dts files 2019-12-04 19:44:11 -08:00
.gitignore .gitignore: ignore only top-level modules.builtin 2021-05-02 00:43:35 +09:00
.mailmap mailmap: add Andrej Shadura 2021-10-18 20:22:03 -10:00
COPYING COPYING: state that all contributions really are covered by this file 2020-02-10 13:32:20 -08:00
CREDITS MAINTAINERS: Move Daniel Drake to credits 2021-09-21 08:34:58 +03:00
Kbuild kbuild: rename hostprogs-y/always to hostprogs/always-y 2020-02-04 01:53:07 +09:00
Kconfig kbuild: ensure full rebuild when the compiler is updated 2020-05-12 13:28:33 +09:00
MAINTAINERS MAINTAINERS: adjust file entry for of_net.c after movement 2023-04-19 17:46:04 +08:00
Makefile Linux 5.15.35 2023-04-19 17:48:07 +08:00
README Drop all 00-INDEX files from Documentation/ 2018-09-09 15:08:58 -06:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.