Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp13846352pxu; Mon, 4 Jan 2021 06:11:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJwMYYGtKVs9EqcX7+kJ4ZS0k5Auabp0cAq2bvS36JJyFZSsS6CHwSnsem4loqdb2R77s5yh X-Received: by 2002:a17:906:8301:: with SMTP id j1mr9813308ejx.397.1609769465732; Mon, 04 Jan 2021 06:11:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609769465; cv=none; d=google.com; s=arc-20160816; b=GjlDOLhNH+91jc3wNOrDIJk89OSVWdi3Xj7cJjvCRJtd8JFTJgE3hw2FTllzJikueB jJk+xuqult0VeJCsvEwum6+X8COyr/I1IHaocVgUScll4KKfq8iFC6Uz8K6E9iMFzPwT RuGAUYPKXSbAhTuh6SB4U0EwnHMeZmgtxTHhJHv1L5nIQyRMIKhI1V1RylGEC2+OmOAv PQLR8mKsrfO4iKg0tMEOxmi8JgKPoyzbJe60/1ZdBMC2axdUKRLbJMcjaASff7cOkbMp 2SKP88Qzs4Bg9fysvpKV88YIyNGpo1AOMEj9nJaERHzWP9MZdCk/uznGkCvv3cBQ660+ 6MJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:date:message-id:in-reply-to:subject :cc:to:from:user-agent:references:dkim-signature; bh=ONDjz5ciY9vROqc+40QcPHXcNj7vnSuJSUB6nVWh938=; b=kmXEFhGoN/I9MppibXz9ORmxTRO3BCQILSWQfb48n40EEgogRLHQ2q7zuKcwMl1SYm 6WJnigkxbLYe4SNyS8wFaBntz8aEPQwbSK4/MpSnco4Tr/qnP7dLA6Rpb0Htx7BYppiH A0eQtd1tRqBA+3Ig4lahf4LTQS8dImZDPmCFxINbNrAGsUF+gYWL4QG5IyxwQ/420EyA 5HaWldUsb/Tzd83ZptJ6tQGncX4gDpWGa9p85YoeCzjKGEl1zT984mYZVOIq9xXnJtgS S7Un3zTxwdc29M7FMW2OHPGoTZ/+LvZsHBFmn2H0gTEcKR/TqfVWT9xLgYtJS4UmSOd9 AYUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=rI95mT2W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f21si30331191eds.396.2021.01.04.06.10.42; Mon, 04 Jan 2021 06:11:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=rI95mT2W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727041AbhADOI5 (ORCPT + 99 others); Mon, 4 Jan 2021 09:08:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726029AbhADOI4 (ORCPT ); Mon, 4 Jan 2021 09:08:56 -0500 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A7D1C061574 for ; Mon, 4 Jan 2021 06:08:16 -0800 (PST) Received: by mail-ej1-x62f.google.com with SMTP id n26so36919112eju.6 for ; Mon, 04 Jan 2021 06:08:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=references:user-agent:from:to:cc:subject:in-reply-to:message-id :date:mime-version; bh=ONDjz5ciY9vROqc+40QcPHXcNj7vnSuJSUB6nVWh938=; b=rI95mT2WrrOPFGLnvIYmdnh/hiOFPpiKvknNVQO+3kAVlmXH+XKbRr40QgJQnL9/MO ZkxOa3TrY3NzVEdiCZfz9T/yAtDg+svkf3cfqMQQDXKCm+5DIr/JXETAWsVxUsIO453U N8ka6bNI1n0Vj/B9t4kWWwRkwxSq0pH9ynmu21FPTJmfyocuxv9EqEy2NbH/FO7Sckct YpbDPJk4VEGv7TCi0gR5l76CjSHsv6+pqiu3l/aOic1bff2ZJrGpG6kUd6RKliHgzzih WhxxHIklIa+TwE4S70fX1FCtnhHquP0YcdWImUbgIAC78iUG2VqYJiFeXmCah0hSlCln b80A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:message-id:date:mime-version; bh=ONDjz5ciY9vROqc+40QcPHXcNj7vnSuJSUB6nVWh938=; b=D4ufv51lKtu/gUZ6B3xmqBTGPUIg5FmnbZKZ7Ktx/t7qBCq/dfXkX2SgtNCjWx6CZr QjlkwVSQIEMVI4rcnV+ZyCzq+zUNjGVDz/Yct0OsPkASlrcvCWZdkcK4icMyCH/WEB5X Q89D9XO8snmV5vTYmOwU6k0I17pRsh48ee+0C7T5PT31BHMQelTTs+F/z30UHgvRCv9P hThH/Ikhm+E/6KRU6fkcaLbheouMP+HAh28ENfiAIO4ZGpfZ562gwFRZ+o/FP2DcxglK gmkplgMUDomfV3OXgVG6ggFwwZtlX8hBQdrbhmTWLcBS2q1BRIc0GoZh0CFak1GttogK AhKA== X-Gm-Message-State: AOAM531tNT8XkLU8/7jkl4hSZVbvjwU8bbRpQjSecW3D/SZiaBzUTPev WVoTIyX6CpAb1KiMUpZuJt/A0A== X-Received: by 2002:a17:906:ae14:: with SMTP id le20mr68611224ejb.451.1609769295055; Mon, 04 Jan 2021 06:08:15 -0800 (PST) Received: from localhost (82-65-169-74.subs.proxad.net. [82.65.169.74]) by smtp.gmail.com with ESMTPSA id u2sm23681997ejb.65.2021.01.04.06.08.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Jan 2021 06:08:14 -0800 (PST) References: <20201221173531.215169-1-jbrunet@baylibre.com> <20201221173531.215169-4-jbrunet@baylibre.com> <20201229222949.GC31406@jackp-linux.qualcomm.com> User-agent: mu4e 1.4.10; emacs 27.1 From: Jerome Brunet To: Jack Pham , Greg Kroah-Hartman Cc: Felipe Balbi , Ruslan Bilovol , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/4] usb: gadget: u_audio: remove struct uac_req In-reply-to: <20201229222949.GC31406@jackp-linux.qualcomm.com> Message-ID: <1jr1n0x0aa.fsf@starbuckisacylon.baylibre.com> Date: Mon, 04 Jan 2021 15:08:13 +0100 MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 29 Dec 2020 at 23:30, Jack Pham wrote: > Hi Greg and Jerome, > > On Mon, Dec 28, 2020 at 04:01:46PM +0100, Greg Kroah-Hartman wrote: >> On Mon, Dec 21, 2020 at 06:35:30PM +0100, Jerome Brunet wrote: >> > 'struct uac_req' purpose is to link 'struct usb_request' to the >> > corresponding 'struct uac_rtd_params'. However member req is never >> > used. Using the context of the usb request, we can keep track of the >> > corresponding 'struct uac_rtd_params' just as well, without allocating >> > extra memory. >> > >> > Signed-off-by: Jerome Brunet >> > --- >> > drivers/usb/gadget/function/u_audio.c | 58 ++++++++++++--------------- >> > 1 file changed, 26 insertions(+), 32 deletions(-) >> >> This patch doesn't apply, so I can't apply patches 3 or 4 of this series >> :( >> >> Can you rebase against my usb-testing branch and resend? > > From the cover letter: > > On Mon, Dec 21, 2020 at 06:35:27PM +0100, Jerome Brunet wrote: >> The series depends on this fix [0] by Jack Pham to apply cleanly >> >> [0]: https://lore.kernel.org/linux-usb/20201029175949.6052-1-jackp@codeaurora.org/ > > My patch hadn't been picked up by Felipe, so it's not in your tree > either, Greg. Should I just resend it to you first? Or shall I invite > Jerome to just include it in v2 of this series? Indeed. I rebased on usb-testing and the series applies cleanly with Jack's changes, as decribed in the cover-letter. If it is easier, I'm happy to include Jack's change in the v2, along with the fixed PATCH 2 fixed. Greg, would it be OK with you ? > > Thanks, > Jack