aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm27xx/patches-5.10/950-0307-dwc_otg-whitelist_table-is-now-productlist_table.patch
blob: 6841a2df4ae03c1b5de6fabb86af2d708f916dad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From 1ecaa185ff343a783c147b17dd85482c507d2d9e Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Thu, 3 Sep 2020 14:02:41 +0100
Subject: [PATCH] dwc_otg: whitelist_table is now productlist_table

---
 drivers/usb/core/otg_productlist.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/usb/core/otg_productlist.h
+++ b/drivers/usb/core/otg_productlist.h
@@ -139,7 +139,7 @@ static int is_targeted(struct usb_device
 		/* NOTE: can't use usb_match_id() since interface caches
 		 * aren't set up yet. this is cut/paste from that code.
 		 */
-		for (id = whitelist_table; id->match_flags; id++) {
+		for (id = productlist_table; id->match_flags; id++) {
 #ifdef DEBUG
 			dev_dbg(&dev->dev,
 				"ID: V:%04x P:%04x DC:%04x SC:%04x PR:%04x \n",