[alsa-devel] [PATCH] ASoC: sta32x: Optimize the array work to find rate_min and rate_max

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Jan 3 22:18:48 CET 2012


On Sun, Jan 01, 2012 at 06:36:14PM +0800, Axel Lin wrote:
> For a given ir and fs, there is at most one possible match for the case
> mclk_ratios[ir][j].ratio * fs == freq.
> Thus we can break from the inner loop once a match is found.

Applied, thanks.


More information about the Alsa-devel mailing list