[alsa-devel] [PATCH] ASoC: cs42l52: Catch no-match case in cs42l52_get_clk

Austin, Brian Brian.Austin at cirrus.com
Mon Dec 24 21:48:17 CET 2012

On Dec 24, 2012, at 10:02, "Mark Brown" <broonie at opensource.wolfsonmicro.com> wrote:

> On Thu, Dec 20, 2012 at 04:53:16PM +0800, Axel Lin wrote:
>> In the case of no-match, return -EINVAL instead of 0.
>> Since we assign i to ret in the for loop, ret always less than
>> ARRAY_SIZE(clk_map_table). Thus remove the boundary checking for ret.
> Applied, thanks.

Sorry I did not see this new one. Thanks axel.  FWIW

Acked-by: Brian Austin <brian.austin at cirrus.com>

More information about the Alsa-devel mailing list