Received: by 10.213.65.68 with SMTP id h4csp1613995imn; Mon, 19 Mar 2018 08:46:55 -0700 (PDT) X-Google-Smtp-Source: AG47ELvQKPRjlXs63s0jT/yOnV17cw39FvN9NfCS0khRmNOBGtdGAl51LwyyHBdgsvBybpDvWlzA X-Received: by 10.99.185.7 with SMTP id z7mr9718237pge.123.1521474415367; Mon, 19 Mar 2018 08:46:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521474415; cv=none; d=google.com; s=arc-20160816; b=VSMpgnJYgdWOpEAMb6zBHgUZ6aonBryBBzx4caKBjDewVzC8YZTsmLxZ9AAsoHs0y9 DCY9IKBADApVrySo+Ck1ERbfiRtUw0ox+vU+1hooVxuD9qDYUwSZyDshPHXgdOJ9CEha iLfg9IETDSOJawVytbvNVVe3kEn4iBDrbeBWLRIzP5AbrSnDhldiIdoYaviULIlNCW17 4E5xSPndZvPjfP/d2/l86af+4+In9e8CKtstUelMkvpbuKirdsyymeyZhNwI5b342Its 1FUb6dALr/R16MlHV4Ob48A8wZqpdL4aujzyvYnkBfiRXb+W9G45GtYLBhSuk2eBcUwc +Jtg== 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=XymXbNITTSe4hc3xkFMCG1WmvXoIQyVADfbJy78bbys=; b=npkBaWk6ttdluXpLMkku5SJCgeyXbLG1b/D8a+kbJrD0ad3CCJe8hqB8bOF1/IiGEA klsLaHkVlLq64ytUz2max3Y++NBV14+AHsxm3EMrpqRB9x33cuj3XMVCWgAKqLgzl0CD MdPwLtgi7UGwsiZxDUf3FAQG6AENVZDCgWS03YiSz93RKyCeN/WUh17R8UbqBSPql7xJ 3QGk7XuMXhgJER3v6dY4BofIYcOWkqLQwy9O/a48usq55jw4I8+c1P4avGaOv8dSlVVU yAaDCH54Vk/1yAYUxHT7IQ7PjOovoGo/bKhqQFl39GwIUsxhJU4dqd/B7/nGnrGm4/Zu 6RHw== 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 d68si165410pfl.337.2018.03.19.08.46.39; Mon, 19 Mar 2018 08:46:55 -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 S1755967AbeCSPpe (ORCPT + 99 others); Mon, 19 Mar 2018 11:45:34 -0400 Received: from mx2.suse.de ([195.135.220.15]:43010 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755955AbeCSPpc (ORCPT ); Mon, 19 Mar 2018 11:45:32 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 8E60BAC95; Mon, 19 Mar 2018 15:45:30 +0000 (UTC) Date: Mon, 19 Mar 2018 16:45:29 +0100 Message-ID: From: Takashi Iwai To: "Kirill Marinushkin" Cc: "Greg Kroah-Hartman" , , "Ruslan Bilovol" , "Mark Brown" , "Thomas Gleixner" , "Felipe Balbi" , "Philippe Ombredanne" , "Jaroslav Kysela" , Subject: Re: [PATCH] ALSA: usb-audio: Fix parsing descriptor of UAC2 processing unit In-Reply-To: References: <20180319061108.24178-1-k.marinushkin@gmail.com> <20180319074019.GA30688@kroah.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 Mon, 19 Mar 2018 08:47:49 +0100, Takashi Iwai wrote: > > On Mon, 19 Mar 2018 08:40:19 +0100, > Greg Kroah-Hartman wrote: > > > > On Mon, Mar 19, 2018 at 07:11:08AM +0100, Kirill Marinushkin wrote: > > > Currently, the offsets in the UAC2 processing unit descriptor are > > > calculated incorrectly. It causes an issue when connecting the device which > > > provides such a feature: > > > > > > ~~~~ > > > [84126.724420] usb 1-1.3.1: invalid Processing Unit descriptor (id 18) > > > ~~~~ > > > > > > After this patch is applied, the UAC2 processing unit inits w/o this error. > > > > > > Fixes: 5e1ddb481776 ("UAPI: (Scripted) Disintegrate include/linux/usb") > > > Signed-off-by: Kirill Marinushkin > > > Cc: Mark Brown > > > Cc: Jaroslav Kysela > > > Cc: Takashi Iwai > > > Cc: Thomas Gleixner > > > Cc: Felipe Balbi > > > Cc: Philippe Ombredanne > > > Cc: Greg Kroah-Hartman > > > Cc: Ruslan Bilovol > > > Cc: linux-kernel@vger.kernel.org > > > Cc: alsa-devel@alsa-project.org > > > --- > > > include/uapi/linux/usb/audio.h | 4 ++-- > > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > Cc: stable > > perhaps? > > Yes, it deserves. But I'd need to double-check the UAC2 > specification. It's interesting that such a basic thing hasn't hit > until now. Maybe just because it's a fairly minor feature. ... and the patch looks correct, after confirming the UAC2 spec. Now I applied it, with a minor correction of Fixes tag, which actually was introduced by 23caaf19b11e ("ALSA: usb-mixer: Add support for Audio Class v2.0"), and adding Cc to stable. Thanks! Takashi