[alsa-devel] [PATCH 1/2] ASoC: soc_pcm_init_runtime_hw: Fix rate_max calculation
broonie at kernel.org
Wed Nov 27 17:42:21 CET 2013
On Wed, Nov 27, 2013 at 09:58:17AM +0100, Lars-Peter Clausen wrote:
> In order to make sure that the sample rate is in the supported range of both
> components the maximum rate of the card should be the minimum of the maximum
> rate of each components. There is one special case to consider though, if
> max_rate is set to 0 this means there is no maximum specified, so use
> min_not_zero() macro which will give use the desired result.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: Digital signature
More information about the Alsa-devel