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: Hemant Kumar <hemantk@codeaurora.org>
(cherry picked from commit 4c874ac2de)
[connoro: commit amended to include only the ABI diff]
Signed-off-by: Connor O'Brien <connoro@google.com>
Bug: 151258428
Change-Id: I736d5a99f51820e562311c988ea9fd09b3e7117b
This commit is contained in:
Hemant Kumar 2017-08-18 16:40:58 -07:00 committed by Connor O'Brien
parent a1b446aa69
commit a6c834c026

View file

@ -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;