From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lars-Peter Clausen Subject: Re: [PATCH 1/2] ASoC: dapm: Break out of widget search when source and sink are located Date: Thu, 07 May 2015 13:24:27 +0200 Message-ID: <554B4B6B.2010700@metafoo.de> References: <1430994839-32584-1-git-send-email-ckeepax@opensource.wolfsonmicro.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from smtp-out-205.synserver.de (smtp-out-205.synserver.de [212.40.185.205]) by alsa0.perex.cz (Postfix) with ESMTP id 5F11B2606E0 for ; Thu, 7 May 2015 13:24:26 +0200 (CEST) In-Reply-To: <1430994839-32584-1-git-send-email-ckeepax@opensource.wolfsonmicro.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Charles Keepax , broonie@kernel.org Cc: alsa-devel@alsa-project.org, patches@opensource.wolfsonmicro.com, lgirdwood@gmail.com List-Id: alsa-devel@alsa-project.org On 05/07/2015 12:33 PM, Charles Keepax wrote: > Currently snd_soc_dapm_add_route will continue to search the widget list > even after both the source and sink for the route have been located. > This patch breaks out of the search when both are located giving a > small improvement in probe time for drivers. > > Signed-off-by: Charles Keepax Reviewed-by: Lars-Peter Clausen