[alsa-devel] [PATCH] ASoC: core: Don't break component searching if both id and num_dai are 0

Mark Brown broonie at kernel.org
Wed Apr 23 14:49:33 CEST 2014


On Mon, Apr 21, 2014 at 07:14:46PM +0800, Nicolin Chen wrote:
> The commit e41975ed (ASoC: core: Fix the DAI name getting) added a break
> within the "if (id < 0 || id >= pos->num_dai)" while the original design
> of the search didn't break the loop if that condition contented but only
> mark the ret error and let it go on to search the next component.

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/20140423/f1bc4b20/attachment.sig>


More information about the Alsa-devel mailing list