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, Oct 29, 2020 at 3:34 AM M. Vefa Bicakci <m.v.b@xxxxxxxxxx> wrote:
>
> On 28/10/2020 00.00, Pany wrote:
> > 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>
>
> I realize that I am a bit late to do this, but I would like to thank
> Bastien and Pany for their efforts in testing (Bastien and Pany) and
> co-developing (Bastien) the patches.
>
> Thanks as well to Greg Kroah-Hartman for committing the patches to
> the usb-linus branch of the usb git tree and for fixing up the patch
> descriptions while doing so.
>
> Thanks everyone!
>
> Vefa

Thanks to Vefa, Bastien, and everyone for all your efforts! The patch
is perfect.

I’m so honored to be part of this. Thanks again.

-- 
Regards,
Pany
pany@xxxxxxxxxxxxxxxxx




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

  Powered by Linux