Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HACK: ALSA: Assign internal PCM chmap/ELD/IEC958 kctls to device 0
On SoC sound devices utilizing codec2codec DAI links with a HDMI codec the kctls for chmap, ELD, IEC958 are currently created using the internal PCM device numbers. This causes userspace to not see the actual channel mapping. Affected devices include LibreTech LePotato and Wetek Play 2. The proper fix would be not create these kctls for internal PCMs and instead create them for the real userspace-visible PCMs, somehow forwarding the controls between the HDMI codec and the real PCM. As a workaround, simply use device=0 for all channel map controls and SoC HDMI codec controls for internal PCM devices. Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
- Loading branch information