From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752175AbdHHO2a (ORCPT ); Tue, 8 Aug 2017 10:28:30 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:20449 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752010AbdHHO23 (ORCPT ); Tue, 8 Aug 2017 10:28:29 -0400 Subject: Re: [PATCH] usb: gadget: f_uac2: calculate wMaxPacketSize before endpoint match To: Roger Quadros , Felipe Balbi , Greg Kroah-Hartman CC: Bin Liu , , References: <09d1259f224a2427a326d3589765dc149e577c75.1495008408.git.nsekhar@ti.com> From: Sekhar Nori Message-ID: <85a259da-d0d6-ee64-676a-5b454d908d5c@ti.com> Date: Tue, 8 Aug 2017 19:57:46 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 08 August 2017 07:50 PM, Roger Quadros wrote: > On 17/05/17 11:15, Sekhar Nori wrote: >> Calculate wMaxPacketSize before endpoint matching the >> descriptor is found. >> >> This allows audio gadget to be used with controllers >> which have a shortage or unavailability of endpoints >> that can handle max packet size of 1023 (FS) or 1024 >> (HS). >> >> With this audio gadget can be used on TI's OMAP-L138 SoC >> which has a MUSB HS controller with endpoints having max >> packet size much less than 1023 or 1024. See mode_2_cfg in >> drivers/usb/musb/musb_core.c >> >> Signed-off-by: Sekhar Nori > > Acked-by: Roger Quadros Thanks Roger! This has already made it to upstream as commit 0db56e43359c47ff184ceaf8b04b664d997bff88. Regards, Sekhar