Add function to constrain rates

Merge series from Chancel Liu <chancel.liu@nxp.com>:

Platforms like i.MX93/91 only have one audio PLL. Some sample rates are
not supported. If the PLL source is used for 8kHz series rates, then
11kHz series rates can't be supported. Add common function to constrain
rates according to different clock sources.

In ASoC drivers switch to this new function.
This commit is contained in:
Mark Brown 2024-12-10 12:37:21 +00:00
commit 527acf5de4
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
6 changed files with 93 additions and 20 deletions