[alsa-devel] [PATCH 1/2] ASoC: soc_pcm_init_runtime_hw: Fix rate_max calculation
Mark Brown
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.
Applied, thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20131127/3c55ebcb/attachment.sig>
More information about the Alsa-devel
mailing list