On Tue, Oct 27, 2020 at 6:25 PM Bastien Nocera <hadess@xxxxxxxxxx> wrote: > > 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> > This patch works well for me. Tested-by: Pan (Pany) YUAN <pany@xxxxxxxxxxxxxxxxx> -- Regards, Pany pany@xxxxxxxxxxxxxxxxx