Skip to content

Conversation

@gtrainavicius
Copy link
Contributor

Even though it's documented that specifying slots=0 can be used to disable the TDM mode, error checking introduced in 6.12.31 version broke this, therefore, for the time being, a workaround is to provide a xlate_tdm_slot_mask operation implementation to return 0 instead of -EINVAL as it does in case slots argument is 0.

I've reported it to ALSA list:

https://mailman.alsa-project.org/hyperkitty/list/alsa-devel@alsa-project.org/message/DDSGL446HGUPXIAMIQXUULJ4EPHZTO26/

Even though it's documented that specifying slots=0 can be used to disable
the TDM mode, error checking introduced in 6.12.31 version broke this,
therefore, for the time being, a workaround is to provide a xlate_tdm_slot_mask
operation implementation to return 0 instead of -EINVAL as it does in case
slots argument is 0.

Signed-off-by: Giedrius Trainavičius <giedrius@blokas.io>
@pelwell pelwell merged commit 95309fc into raspberrypi:rpi-6.12.y Jun 4, 2025
11 of 12 checks passed
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Jun 5, 2025
kernel: Add support for the IMX283 on Raspberry Pi platforms
See: raspberrypi/linux#6869

kernel: Pisound Micro: Workaround for snd_soc_dai_set_tdm_slot with slots=0
See: raspberrypi/linux#6880

kernel: add rtw88/rtw89 drivers
See: raspberrypi/linux#6881

kernel: configs: arm64: Remove CONFIG_USB_DWCOTG
See: raspberrypi/linux#6883
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Jun 5, 2025
kernel: Add support for the IMX283 on Raspberry Pi platforms
See: raspberrypi/linux#6869

kernel: Pisound Micro: Workaround for snd_soc_dai_set_tdm_slot with slots=0
See: raspberrypi/linux#6880

kernel: add rtw88/rtw89 drivers
See: raspberrypi/linux#6881

kernel: configs: arm64: Remove CONFIG_USB_DWCOTG
See: raspberrypi/linux#6883
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants