[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56430C99.2080703@felipetonello.com>
Date: Wed, 11 Nov 2015 09:38:33 +0000
From: Felipe Ferreri Tonello <eu@...ipetonello.com>
To: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>,
linux-usb@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, Felipe Balbi <balbi@...com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Robert Baldyga <r.baldyga@...sung.com>,
Clemens Ladisch <clemens@...isch.de>
Subject: Re: [PATCH v5 6/7] usb: gadget: f_midi: set altsettings only for
MIDIStreaming interface
Hi Sergei,
On 10/11/15 18:43, Sergei Shtylyov wrote:
> Hello.
>
> On 11/10/2015 08:52 PM, Felipe F. Tonello wrote:
>
>> This avoids duplication of USB requests for OUT endpoint and
>> re-enabling endpoints.
>>
>> Signed-off-by: Felipe F. Tonello <eu@...ipetonello.com>
>> ---
>> drivers/usb/gadget/function/f_midi.c | 4 +++-
>> 1 file changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/drivers/usb/gadget/function/f_midi.c
>> b/drivers/usb/gadget/function/f_midi.c
>> index 76ea53c..615d632 100644
>> --- a/drivers/usb/gadget/function/f_midi.c
>> +++ b/drivers/usb/gadget/function/f_midi.c
>> @@ -75,6 +75,7 @@ struct f_midi {
>> struct usb_ep *in_ep, *out_ep;
>> struct snd_card *card;
>> struct snd_rawmidi *rmidi;
>> + u8 ms_id;
>
> Why 'ms_id' is not aligned with the above field names?
It is actually aligned. Perhaps because of the +?
Here is from my local git diff:
--- a/drivers/usb/gadget/function/f_midi.c
+++ b/drivers/usb/gadget/function/f_midi.c
@@ -75,6 +75,7 @@ struct f_midi {
struct usb_ep *in_ep, *out_ep;
struct snd_card *card;
struct snd_rawmidi *rmidi;
+ u8 ms_id;
struct snd_rawmidi_substream *in_substream[MAX_PORTS];
struct snd_rawmidi_substream *out_substream[MAX_PORTS];
--
Felipe
Download attachment "0x92698E6A.asc" of type "application/pgp-keys" (4831 bytes)
Powered by blists - more mailing lists