[PATCH] ASoC: max98088: fix ni clock divider calculation

Mark Brown broonie at kernel.org
Wed Apr 28 18:53:45 CEST 2021


On Fri, 23 Apr 2021 15:54:02 +0200, Marco Felsch wrote:
> The ni1/ni2 ratio formula [1] uses the pclk which is the prescaled mclk.
> The max98088 datasheet [2] has no such formula but table-12 equals so
> we can assume that it is the same for both devices.
> 
> While on it make use of DIV_ROUND_CLOSEST_ULL().
> 
> [1] https://datasheets.maximintegrated.com/en/ds/MAX98089.pdf; page 86
> [2] https://datasheets.maximintegrated.com/en/ds/MAX98088.pdf; page 82

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: max98088: fix ni clock divider calculation
      commit: 6c9762a78c325107dc37d20ee21002b841679209

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark


More information about the Alsa-devel mailing list