lkml.org 
[lkml]   [2011]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2] sound: usb: mixer: increase control transfer timeout
From
On Mon, Aug 29, 2011 at 7:35 PM, Clemens Ladisch <clemens@ladisch.de> wrote:

>> > +                                   buf, val_len, 1000) >= val_len) {
>> > +                                   buf, val_len, 1000) >= 0) {
>> > +                             !value, 0, NULL, 0, 1000);
>> > +                             !value, 0, NULL, 0, 1000);
>> > +                             value, index + 2, NULL, 0, 1000);
>> > +                                     jacks[i].unitid << 8, buf, 3, 1000);
>> > +                             50, 0, &new_status, 1, 1000);
>>
>> How about also converting to use a local define for timeout value ?
>
> ... now that _all_ calls to snd_usb_ctl_msg use the same timeout value,
> we could just as well drop this parameter.
Sounds better, esp when we have 9 arguments to snd_usb_ctl_msg!
\
 
 \ /
  Last update: 2011-08-29 16:25    [W:0.410 / U:0.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site