Received: by 10.213.65.68 with SMTP id h4csp1367725imn; Mon, 19 Mar 2018 02:03:53 -0700 (PDT) X-Google-Smtp-Source: AG47ELuq3N2ooufhNzdi9xcj98Cj+eMao3dsWzH9Q3GmnhmJkVxWWlTp3YvKtzjI7iUtiIkK//K+ X-Received: by 10.101.74.208 with SMTP id c16mr8581197pgu.116.1521450233769; Mon, 19 Mar 2018 02:03:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521450233; cv=none; d=google.com; s=arc-20160816; b=F3dW0mmmaBMbQQY8PHGTnrRSyo7KqV4QtKH9cAA/tL4IET0wNSJJY7ZIKfIUDcH2WE TmdQWyu35dPJwoc7vk2fEsvGzAWVMh5lHVHo8XIsGNsKWX+fWg0iawGcsddhwPjOYGZu H3RULl4ETeWkX2umORifxVACck4CDoqgCQENzDmyjrKh9/sEwynp/ASbWpUJadBe5TvZ S1VUEyNGUOrZwHsbdBWHxdo14aTGdjQwPQjssO5yA9eoRAXNQQauS+onroc3cE6KeQU1 cR6nPI4MVgxKdggB2LR7/5CXxZ+XFaK310oUJ54o+lNrlfPsB/AXApJtK+A4PBBET25a a41Q== 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=1aMklMmUs5OmBcJc5f+VCG7skD9r9h/IhkhgTOmVhnw=; b=eBoCeiR25GlLj6hJVWAWjfoPNsqZaCb6PkLOYyij0jfn8eLKNSUZVdR9/y7qp8kkga RzXqKNpw1WN3nFZgcveSXynBAEHf6u3JbzGlW55I2Mt+tngHlb+slZOqJZda5UAnmO/l LNCuI8WV94PG7dX9Ixqia8Kqle9RnXsy0HTMI9AGhyYV8n/ZvlQHcA4XUYpneGtJaD11 KPAhGx9dBqzVX2cyPftVbsfbnFa8IDP4xCjX1XdtTKuEO5O5strbRQjESD+kOG7ZGsSp TkU2nITTXNYG+uYV7gYhOIf0/sPtJeOIDUK619q1ZO8FBcI6iKqZy0xSVcbKiMEeeMXF Di5w== 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 z22si4440305pgv.575.2018.03.19.02.03.39; Mon, 19 Mar 2018 02:03:53 -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 S1755352AbeCSHrw (ORCPT + 99 others); Mon, 19 Mar 2018 03:47:52 -0400 Received: from mx2.suse.de ([195.135.220.15]:59885 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755252AbeCSHrv (ORCPT ); Mon, 19 Mar 2018 03:47:51 -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 C14EDABE9; Mon, 19 Mar 2018 07:47:49 +0000 (UTC) Date: Mon, 19 Mar 2018 08:47:49 +0100 Message-ID: From: Takashi Iwai To: "Greg Kroah-Hartman" Cc: "Kirill Marinushkin" , , "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: <20180319074019.GA30688@kroah.com> 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: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. thanks, Takashi