Re: [PATCH 2/2] ASoC: ti: omap-mcbsp: Implement set_tdm_slot
From: Joseph Telaak
Date: Wed Nov 18 2026 - 00:09:25 EST
> Will this do the right thing with a card like simple card that sets
> the sysclk dynamically?
No. A sysclk of 0 at open fails startup(), and later opens keep the
last stream's rates. In v2 I'll only limit rates at open for a sysclk
set outside a stream, as simple-audio-card does at init, and check the
rest in hw_params().
> it'd be good to validate the params against the current slot
> configuration
Will do. hw_params() will check the channels, width and rate against
the slots and sysclk, and against the other direction, since both
share the sample rate generator.