Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 88b7381 ("USB: Select better matching USB drivers when available") Signed-off-by: Bastien Nocera <hadess@hadess.net> Cc: stable <stable@vger.kernel.org> Acked-by: Alan Stern <stern@rowland.harvard.edu> Link: https://lore.kernel.org/r/20200818110445.509668-1-hadess@hadess.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
- Loading branch information