Skip to content
Commit adb6e6ac authored by Bastien Nocera's avatar Bastien Nocera Committed by Greg Kroah-Hartman
Browse files

USB: Also match device drivers using the ->match vfunc



We only ever used the ID table matching before, but we should also support
open-coded match functions.

Fixes: 88b7381a ("USB: Select better matching USB drivers when available")
Signed-off-by: default avatarBastien Nocera <hadess@hadess.net>
Cc: stable <stable@vger.kernel.org>
Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/20200818110445.509668-1-hadess@hadess.net


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d54343a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment