Re: [PATCH 1/2] usbcore: Check both id_table and match() when both available

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

 



On Thu, 2020-10-22 at 09:55 -0400, M. Vefa Bicakci wrote:
> From: Bastien Nocera <hadess@xxxxxxxxxx>
> 
> From: Bastien Nocera <hadess@xxxxxxxxxx>
> 
> When a USB device driver has both an id_table and a match() function,
> make
> sure to check both to find a match, first matching the id_table, then
> checking the match() function.
> 
> This makes it possible to have module autoloading done through the
> id_table when devices are plugged in, before checking for further
> device eligibility in the match() function.
> 
> Signed-off-by: Bastien Nocera <hadess@xxxxxxxxxx>
> Cc: <stable@xxxxxxxxxxxxxxx> # 5.8
> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Cc: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
> Co-developed-by: M. Vefa Bicakci <m.v.b@xxxxxxxxxx>
> Signed-off-by: M. Vefa Bicakci <m.v.b@xxxxxxxxxx>

You can also add my:
Tested-by: Bastien Nocera <hadess@xxxxxxxxxx>




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux