Re: [PATCH v4 7/9] sound: usb: remove third argument of usb_maxpacket()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 17 Mar 2022 04:55:12 +0100,
Vincent Mailhol wrote:
> 
> The third argument of usb_maxpacket(): in_out has been deprecated
> because it could be derived from the second argument (e.g. using
> usb_pipeout(pipe)).
> 
> N.B. function usb_maxpacket() was made variadic to accommodate the
> transition from the old prototype with three arguments to the new one
> with only two arguments (so that no renaming is needed). The variadic
> argument is to be removed once all users of usb_maxpacket() get
> migrated.
> 
> CC: Jaroslav Kysela <perex@xxxxxxxx>
> CC: Takashi Iwai <tiwai@xxxxxxxx>
> CC: Clemens Ladisch <clemens@xxxxxxxxxx>
> Signed-off-by: Vincent Mailhol <mailhol.vincent@xxxxxxxxxx>

Acked-by: Takashi Iwai <tiwai@xxxxxxx>


thanks,

Takashi



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux