lkml.org 
[lkml]   [2017]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] usb: gadget: f_uac2: calculate wMaxPacketSize before endpoint match
From
Date
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 <nsekhar@ti.com>
>
> Acked-by: Roger Quadros <rogerq@ti.com>

Thanks Roger! This has already made it to upstream as commit
0db56e43359c47ff184ceaf8b04b664d997bff88.

Regards,
Sekhar

\
 
 \ /
  Last update: 2017-08-08 16:29    [W:0.034 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site