From a6c834c026587fd7988199a38f75d9e90421481b Mon Sep 17 00:00:00 2001 From: Hemant Kumar Date: Fri, 18 Aug 2017 16:40:58 -0700 Subject: [PATCH] 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 (cherry picked from commit 4c874ac2de1e09d148aeb47362e89f60b2743280) [connoro: commit amended to include only the ABI diff] Signed-off-by: Connor O'Brien Bug: 151258428 Change-Id: I736d5a99f51820e562311c988ea9fd09b3e7117b --- drivers/usb/host/xhci.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index 4dedc822237f..07636dc419bb 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h @@ -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;