From: Takashi Iwai Subject: Re: [PATCH 1/2] ALSA: usb-audio: fix uac control query argument Date: Fri, 23 Mar 2018 10:25:37 +0100 Message-ID: References: <20180322213956.217933-1-achant@google.com> <20180322213956.217933-2-achant@google.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 5B8812673B2 for ; Fri, 23 Mar 2018 10:25:39 +0100 (CET) In-Reply-To: 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: Andrew Chant Cc: alsa-devel@alsa-project.org, Ruslan Bilovol , Benson Leung List-Id: alsa-devel@alsa-project.org On Fri, 23 Mar 2018 08:52:01 +0100, Andrew Chant wrote: > > Applying this now would be great, thank you. OK, applied now. Thanks! Takashi > > On Mar 23, 2018 12:48 AM, "Takashi Iwai" wrote: > > On Thu, 22 Mar 2018 22:39:55 +0100, > Andrew Chant wrote: > > > > This patch fixes code readability and should have no functional change. > > > > Correct uac control query functions to account for the 1-based indexing > > of USB Audio Class control identifiers. > > > > The function parameter, u8 control, should be the > > constant defined in audio-v2.h to identify the control to be checked for > > readability or writeability. > > > > This patch fixes all callers that had adjusted, and makes explicit > > the mapping between audio_feature_info[] array index and the associated > > control identifier. > > > > Signed-off-by: Andrew Chant > > Looks like a nice clean up and fix. > Would you like me applying this now, or better all together later? > > > thanks, > > Takashi > [2 ] >