]> git.alsa-project.org Git - alsa-lib.git/commit
control: remap: forward non-remapped controls (-ENOENT) to child
authorJaroslav Kysela <perex@perex.cz>
Tue, 24 Nov 2026 17:47:54 +0000 (18:47 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 24 Nov 2026 17:53:24 +0000 (18:53 +0100)
commita60fd22fa19acd476ae465cfb52b5475b8395f93
tree076fd59b1078d213a22b20270af256c123c802dd
parentf63e1a49b373e89a1d145d3c16e3203c74c4b659
control: remap: forward non-remapped controls (-ENOENT) to child

Initialize *_rid in remap_id_to_child() and tolerate -ENOENT from it in
the elem info/read/write/lock/unlock paths, so controls that are not in
the remap table are forwarded to the child ctl instead of failing.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/control/control_remap.c