Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp920277imm; Thu, 31 May 2018 11:46:03 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ8Ha8MUzfYRznaq8FOv38oJ6evsbx6mwPvhrFHvn4jcWYhX49SQwkXKEDWrfYDetynJfJb X-Received: by 2002:a62:4a88:: with SMTP id c8-v6mr7863478pfj.23.1527792363618; Thu, 31 May 2018 11:46:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527792363; cv=none; d=google.com; s=arc-20160816; b=ct7jgWsbuRyCcEFXIvb/gvvEmDW0jY11sqUIyIFwsGX7DvD0DKCJcm/bgpOILas4YR KwHbS1SUbKPZ6EW3wLnDivrQdxRThA8Q9+KEFHkAbgR2O4SBzbyt0AyhJg/DIylL2vFZ n2RP5GIwl5GsQ2ZTR1UjyXsxFiX1nDyFepW9+h6pPlxtDS+80/nTsnKee+0mWdU6wZ2d QlcFIBJQCOk1Qxd266OyCrP7Bpu04IUr3n7InL73QPkreecZD85MHXtxSiQj9d180QZk nYAUEWoSMy9CElFwP/WJqtFKHkrm0fRARqYAYlJo229U6pZLqbTgT74S6uI4MrmKKpEh xV5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:subject:cc:to:from:message-id:date :arc-authentication-results; bh=T7EXJAZOFLopcAv2j4YiUin7Pjmd1XEX/CsQQFT1aZk=; b=rHJtUn92x7QPHd55l3TkhTOtmtjd2JRcuSg2CTRGiO69wo6kt74msa0kQ1TyjjqxFE GQ0sa36gp//uqYYNj0K+g/JwpFHXXn38qF3WnGXIf4FLJTuZ2LC7JXiC7MIpLnnPf2ev cDD/msJn+HZ78PhykLNn/JNWPeWjMWDLARNgOYolYz901ruk/pz24r7QwXdhoVI36GKe oGUj6iZbdHDN/flLCP18Ud/tL6Z21B5hqmdScDA9iewQMIL9SiPGPBXa/PsyiNF/HGea 2EinEsLtT6wtorUpV2copUIuiRSxP6jj3Hjd7/lFE2TTEufQdqDhXftxR32UcOSjsBAb 6NYQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 31-v6si37831090plz.364.2018.05.31.11.45.49; Thu, 31 May 2018 11:46:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756047AbeEaSnV (ORCPT + 99 others); Thu, 31 May 2018 14:43:21 -0400 Received: from mx2.suse.de ([195.135.220.15]:57688 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755877AbeEaSnS (ORCPT ); Thu, 31 May 2018 14:43:18 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext-too.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id AF745ADD3; Thu, 31 May 2018 18:43:17 +0000 (UTC) Date: Thu, 31 May 2018 20:43:17 +0200 Message-ID: From: Takashi Iwai To: Andy Shevchenko Cc: Yisheng Xie , Linux Kernel Mailing List , ALSA Development Mailing List , Clemens Ladisch , Jaroslav Kysela Subject: Re: [PATCH v2 15/21] ALSA: oxygen: use match_string() helper In-Reply-To: References: <1527765086-19873-1-git-send-email-xieyisheng1@huawei.com> <1527765086-19873-16-git-send-email-xieyisheng1@huawei.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 31 May 2018 20:40:28 +0200, Andy Shevchenko wrote: > > On Thu, May 31, 2018 at 9:39 PM, Takashi Iwai wrote: > > On Thu, 31 May 2018 13:11:20 +0200, > > Yisheng Xie wrote: > >> > >> match_string() returns the index of an array for a matching string, > >> which can be used instead of open coded variant. > >> > >> Cc: Clemens Ladisch > >> Cc: Jaroslav Kysela > >> Cc: Takashi Iwai > >> Cc: alsa-devel@alsa-project.org > >> Signed-off-by: Yisheng Xie > > > > Applied, thanks. > > Is it too late for nitpick? Depends :) Takashi