Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a6c834c0 authored by Hemant Kumar's avatar Hemant Kumar Committed by Connor O'Brien
Browse files

ANDROID: GKI: usb: host: xhci: Add support for usb core indexing



Unique usb core id is used to differentiate between
different usb controllers.

[jackp@codeaurora.org: squashed with usb: host: Fix passing of
core-id property to xhci-plat]
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
(cherry picked from commit 4c874ac2)
[connoro: commit amended to include only the ABI diff]
Signed-off-by: default avatarConnor O'Brien <connoro@google.com>
Bug: 151258428
Change-Id: I736d5a99f51820e562311c988ea9fd09b3e7117b
parent a1b446aa
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1742,6 +1742,8 @@ struct xhci_hcd {
	/* Our HCD's current interrupter register set */
	struct	xhci_intr_reg __iomem *ir_set;

	int		core_id;

	/* Cached register copies of read-only HC data */
	__u32		hcs_params1;
	__u32		hcs_params2;