lkml.org 
[lkml]   [2015]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH v5 6/7] usb: gadget: f_midi: set altsettings only for MIDIStreaming interface
    From
    Date
    Felipe F. Tonello wrote:
    > This avoids duplication of USB requests for OUT endpoint and
    > re-enabling endpoints.

    > ...
    > /* For Control Device interface we do nothing */
    > - if (intf == 0)
    > + if (intf != midi->ms_id)
    > return 0;

    The comment now is misleading.


    Regards,
    Clemens


    \
     
     \ /
      Last update: 2015-11-13 09:41    [W:4.041 / U:0.064 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site